This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/31405] New: [4.3] fixincludes needed for wchar from glibc 2.3.6
- From: "tbm at cyrius dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Mar 2007 21:15:46 -0000
- Subject: [Bug other/31405] New: [4.3] fixincludes needed for wchar from glibc 2.3.6
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
When you link two files that both #include <wchar.h> together you get:
t2.o: In function `wcstoul': /usr/include/wchar.h:540: multiple definition of
`wcstoul'
t1.o:/usr/include/wchar.h:540: first defined here
when you compile with -std=c99.
--
Summary: [4.3] fixincludes needed for wchar from glibc 2.3.6
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tbm at cyrius dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31405