public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/31405]  New: [4.3] fixincludes needed for wchar from glibc 2.3.6
@ 2007-03-30 21:16 tbm at cyrius dot com
  2008-01-23 19:25 ` [Bug other/31405] " manu at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: tbm at cyrius dot com @ 2007-03-30 21:16 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-02-07  6:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-30 21:16 [Bug other/31405] New: [4.3] fixincludes needed for wchar from glibc 2.3.6 tbm at cyrius dot com
2008-01-23 19:25 ` [Bug other/31405] " manu at gcc dot gnu dot org
2008-01-23 22:36 ` [Bug other/31405] [4.3 Regression] " rguenth at gcc dot gnu dot org
2008-01-24  1:27 ` hp at gcc dot gnu dot org
2008-01-25 12:10 ` ubizjak at gmail dot com
2008-02-04 15:35 ` hp at gcc dot gnu dot org
2008-02-04 15:43 ` hp at gcc dot gnu dot org
2008-02-07  6:49 ` tbm at cyrius dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).