This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

<command line>: warning: "__WCHAR_TYPE__" redefined



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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]