This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug bootstrap/51388] Configure failure to detect unsupported warning options for non-bootstrap builds (including cross builds)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51388

--- Comment #7 from Steven Bosscher <steven at gcc dot gnu.org> 2011-12-02 16:48:45 UTC ---
(In reply to comment #1)
> Now, the question is why we don't consistently error in 4.3 ...
> 
> I see
> 
> > gcc-4.3 -c -Wno-narrowing t.c -DHAVE_ARG
> cc1: error: unrecognized command line option "-Wno-narrowing"
> 
> with FSF GCC 4.3.6.  So, are you sure this isn't behavior caused by
> vendor patches?  (openSUSE GCC 4.3 also works)

I think this is due to the patch "pr28322.dpatch" in the Debian GCC 4.3.2-1.1
package. IIUC that patch is also in GCC 4.4. Is that something you can confirm?


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