This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [COMMITTED PATCH] Fix setenv.c diagnostic pragma to be compatible with GCC 4.6


> > +#if ((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)
>        __GNUC_PREREQ (4, 7)

Other comments in the file gave me the impression that the pragma needs to
come before header includes (hence why it's not using the preferred macro
DIAG_IGNORE_NEEDS_COMMENT).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]