This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
<command line>: warning: "__WCHAR_TYPE__" redefined
- To: gcc-bugs at gcc dot gnu dot org
- Subject: <command line>: warning: "__WCHAR_TYPE__" redefined
- From: Craig Newell <CraigN at cheque dot uq dot edu dot au>
- Date: Thu, 6 Jul 2000 02:47:43 -0400 (EDT)
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