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]
Other format: [Raw text]

[Bug other/31405] New: [4.3] fixincludes needed for wchar from glibc 2.3.6


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


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