Don't use -Wno-uninitialized in math/

Joseph Myers joseph@codesourcery.com
Wed Aug 26 22:15:00 GMT 2015


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



More information about the Libc-alpha mailing list