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: Don't use -Wno-uninitialized in math/


On Wed, 26 Aug 2015, Steve Ellcey wrote:

> I tried moving the diag/ignore to just after the include of
> libc-internal.h and I got errors about __GNUC_PREREQ not being defined.
> If I put the diag/ignore's after the include of math.h (and
> libc-internal.h) then things seemed to work.  Any idea why I need to
> include math.h to get __GNUC_PREREQ defined?

Public headers include <features.h>.  Internal headers don't necessarily 
do so.

-- 
Joseph S. Myers
joseph@codesourcery.com


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