<command line>: warning: "__WCHAR_TYPE__" redefined

Craig Newell CraigN@cheque.uq.edu.au
Wed Jul 5 23:48:00 GMT 2000


Hi All,

  Just a quick note to say that in the latest CVS build of GCC (as of
about Thu Jul  6 02:42:12 EDT 2000), the "-fshort-wchar" option generates
the following bogus? warning:

[craign@freespirit ~]$ touch cfn.c
[craign@freespirit ~]$ ls -l cfn.c
-rw-rw-r--    1 craign   craign          0 Jul  6 02:40 cfn.c
[craign@freespirit ~]$ arm-elf-gcc -c -fshort-wchar cfn.c
In file included from cfn.c:4294967295:
<command line>: warning: "__WCHAR_TYPE__" redefined
[craign@freespirit ~]$

  Where arm-elf-gcc is build with host=i686-pc-linux-gnu, target=arm-elf
and "cfn.c" is a zero length file.

	Thanks,

		CraigN

PS. This is built with Nick's patch to gcc/dwarf2out.c but that has
absolutely nothing to do with the preprocessor.
--
      Craig Newell                email: CraigN@cheque.uq.edu.au
      Free Spirit                 icbm:  somewhere in NJ, USA




More information about the Gcc-bugs mailing list