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: Steve Ellcey <sellcey at imgtec dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: Joseph Myers <joseph at codesourcery dot com>, <libc-alpha at sourceware dot org>
- Date: Fri, 21 Aug 2015 11:03:34 -0700
- 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> <alpine dot DEB dot 2 dot 10 dot 1508211608130 dot 2039 at digraph dot polyomino dot org dot uk> <1440174888 dot 23512 dot 37 dot camel at ubuntu-sellcey> <alpine dot DEB dot 2 dot 10 dot 1508211637150 dot 2039 at digraph dot polyomino dot org dot uk> <1440178480 dot 23512 dot 43 dot camel at ubuntu-sellcey> <87lhd4v8cn dot fsf at igel dot home>
- Reply-to: <sellcey at imgtec dot com>
On Fri, 2015-08-21 at 19:50 +0200, Andreas Schwab wrote:
> Steve Ellcey <sellcey@imgtec.com> writes:
>
> > There is something weird going on. If I cut out the line that compiles
> > s_fmal.c I can run that command and get the error. If I change the '-c'
> > to '-E' to get a preprocessed source file and then compile that with
> > '-c' (and all the other options normally used in the compilation) I
> > don't get the error.
>
> Probably something is inappropriately setting the system-header flag in
> the line directives. Does it still happen if you preprocess with -P?
>
> Andreas.
I still do not get the warning when I use -P (i.e. I preprocessed with
'-E -P' and then did a '-c' on that file. I did not get the
warning/error that I see with -c on the original source file.
Steve Ellcey
sellcey@imgtec.com