This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30437] [4.0/4.1/4.2/4.3 Regression] -Wno-all is rejected (even when fortran is not included)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2007 06:13:18 -0000
- Subject: [Bug fortran/30437] [4.0/4.1/4.2/4.3 Regression] -Wno-all is rejected (even when fortran is not included)
- References: <bug-30437-8809@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gcc dot gnu dot org 2007-01-14 06:13 -------
(In reply to comment #3)
> Although fortran may have a RejectNegative---in this case it's being rejected
> without fortran---so it's a separate bug that fortran rejects -Wno-all, IMO.
Not really. 4.0.4 fails the same way if you include fortran:
[pinskia@celery ~]$ ~/gcc-4.0/bin/gcc -Wno-all t.cc
cc1plus: error: unrecognized command line option "-Wno-all"
Configured with: /home/pinskia/src/gcc/gcc-4.0/gcc/configure
--prefix=/home/pinskia/gcc-4.0/
So does 4.1.1.
Oh I mean include fortran in the sources really. This is still just caused by
fortran rejecting -Wno-all.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30437