[LLVMbugs] [Bug 9697] New: wchar_t on NetBSD is broken with ObjC++

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 13 05:49:25 PDT 2011


           Summary: wchar_t on NetBSD is broken with ObjC++
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: js-llvm-bugzilla at webkeks.org
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com

When using ObjC++ on NetBSD, I get the following error as soon as inttypes.h is

/usr/include/inttypes.h:40:23: error: cannot combine with previous 'int'
      declaration specifier
typedef _BSD_WCHAR_T_   wchar_t;

However, everything works when using just ObjC.

webkeks:/tmp$ clang -v
clang version 3.0 (trunk 129363)
Target: x86_64-unknown-netbsd5.1.0.
Thread model: posix

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list