Project

General

Profile

Actions

Bug #9179

closed

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

Added by Toomas Soome over 4 years ago. Updated over 4 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

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.

Actions

Also available in: Atom PDF