9179 gss_mechs/mech_krb5 this use of "defined" may not be portable
Review Request #906 - Created Feb. 22, 2018 and submitted
../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
The fix work work, but I'm not wild about seeing this much change relative to the krb5 upstream.
(Well, making that divergence worse than it already is.)
Are there any other (reasonable) ways to squelch this warning without
substituting all those macro instances?
Do you know what later versions of the upstream did here?
lets not get too far from the upstream.
Revision 2 (+7 -4)