[Bug driver/12951] New: -Wno-error-implicit-function-declaration not recognized

gcc-bugzilla at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Nov 7 21:45:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: -Wno-error-implicit-function-declaration not recognized
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at techfak dot uni-bielefeld dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.8
  GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8

Although the claim is that all -W<warn> options also accept the -Wno-<warn>
form, this is not true for -Wno-error-implicit-function-declaration.

Environment:
System: SunOS xayide 5.10 s10_42 sun4u sparc SUNW,Ultra-1
Architecture: sun4

	
host: sparc-sun-solaris2.8
build: sparc-sun-solaris2.8
target: sparc-sun-solaris2.8
configured with: /vol/gnu/src/gcc/gcc/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls

How-To-Repeat:
$ touch test.c
$ ./xgcc -B./ -c -Werror-implicit-function-declaration test.c
$ ./xgcc -B./ -c -Wno-error-implicit-function-declaration test.c
cc1: error: unrecognized command line option "-Wno-error-implicit-function-declaration"



More information about the Gcc-bugs mailing list