(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

[EMAIL PROTECTED]:~$ gcc -Wno-all ../test.c
cc1: error: unrecognized command line option "-Wno-all"
[EMAIL PROTECTED]:~$ gcc --version
gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)

[EMAIL PROTECTED]:~/120588/build$ gcc/xgcc -B gcc/ -Wno-all ~/pr24525.C
cc1plus: error: unrecognized command line option "-Wno-all"
[EMAIL PROTECTED]:~/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

Reply via email to