Project

General

Profile

Bug #9179

gss_mechs/mech_krb5 this use of "defined" may not be portable

Added by Toomas Soome over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2018-02-22
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

Issue found by gcc 7 build:

        ../krb5/os/accessor.c:44:5: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
         #if DESIGNATED_INITIALIZERS
             ^~~~~~~~~~~~~~~~~~~~~~~
        ../krb5/os/accessor.c:112:5: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
         #if DESIGNATED_INITIALIZERS
             ^~~~~~~~~~~~~~~~~~~~~~~
        cc1: all warnings being treated as errors

We assume we have designated initializers.

History

#1

Updated by Electric Monk over 1 year ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit 5fb574e854f31be9e2869532e3b126fa424ee4d9

commit  5fb574e854f31be9e2869532e3b126fa424ee4d9
Author: Toomas Soome <tsoome@me.com>
Date:   2018-03-10T22:50:41.000Z

    9179 gss_mechs/mech_krb5 this use of "defined" may not be portable
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
    Approved by: Joshua M. Clulow <josh@sysmgr.org>

Also available in: Atom PDF