This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Don't use -Wno-uninitialized in math/
- From: Roland McGrath <roland at hack dot frob dot com>
- To: <sellcey at imgtec dot com>
- Cc: Joseph Myers <joseph at codesourcery dot com>, Chris Metcalf <cmetcalf at ezchip dot com>, <libc-alpha at sourceware dot org>
- Date: Wed, 26 Aug 2015 15:57:43 -0700 (PDT)
- Subject: Re: Don't use -Wno-uninitialized in math/
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1508201800380 dot 30940 at digraph dot polyomino dot org dot uk> <1440173079 dot 23512 dot 36 dot camel at ubuntu-sellcey> <55DE1A17 dot 5060706 at ezchip dot com> <alpine dot DEB dot 2 dot 10 dot 1508262116390 dot 6767 at digraph dot polyomino dot org dot uk> <1440627171 dot 14154 dot 13 dot camel at ubuntu-sellcey> <alpine dot DEB dot 2 dot 10 dot 1508262214260 dot 6767 at digraph dot polyomino dot org dot uk> <1440628824 dot 14154 dot 16 dot camel at ubuntu-sellcey>
Nothing should ever #include <features.h> except the prologue of an
installed header file, and then only for the purpose of testing __USE_*
macros. If you want access to the various other __ macros (even ones that
are actually defined in features.h), you should #include <sys/cdefs.h>.