This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/30437] New: -Wno-all is rejected
- From: "chris dot pickett at mail dot mcgill dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jan 2007 15:56:42 -0000
- Subject: [Bug driver/30437] New: -Wno-all is rejected
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
(Ignore that I have gcc installed in $HOME/powerpc, that's Apple's fault for
not setting $HOSTTYPE correctly...)
delices ~ $ ./powerpc/bin/gcc -Wno-all foo.c
cc1: error: unrecognized command line option "-Wno-all"
delices ~ $ ./powerpc/bin/gcc -v
Using built-in specs.
Target: i386-apple-darwin8.8.1
Configured with: ../configure --prefix=/Users/Chris/powerpc
--enable-languages=c --with-mpfr=/Users/Chris/powerpc
--with-gmp=/Users/Chris/powerpc
Thread model: posix
gcc version 4.3.0 20070110 (experimental)
delices ~ $ gcc -Wno-all foo.c
delices ~ $ gcc -v
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5363.obj~28/src/configure
--disable-checking -enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=powerpc-apple-darwin8 --with-arch=nocona --with-tune=generic
--program-prefix= --host=i686-apple-darwin8 --target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5363)
magic ~ $ gcc -Wno-all foo.c
magic ~ $ gcc -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --prefix=/home/user/cpicke/x86_64 :
(reconfigured) ../configure --enable-languages=c,c++,java : (reconfigured)
../configure --prefix=/home/user/cpicke/x86_64 --disable-multilib
--enable-languages=c,c++,java
Thread model: posix
gcc version 4.1.1
manu@localhost:~$ gcc -Wno-all ../test.c
cc1: error: unrecognized command line option "-Wno-all"
manu@localhost:~$ gcc --version
gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
manuel@gcc06:~/120588/build$ gcc/xgcc -B gcc/ -Wno-all ~/pr24525.C
cc1plus: error: unrecognized command line option "-Wno-all"
manuel@gcc06:~/120588/build$ gcc/xgcc --version
xgcc (GCC) 4.3.0 20070108 (experimental)
--
Summary: -Wno-all is rejected
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: driver
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: chris dot pickett at mail dot mcgill dot ca
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30437