http://llvm.org/bugs/show_bug.cgi?id=7068
Summary: clang stddef.h does not define wint_t
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Headers
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
In g++ 4.4.3 (possibly earlier):
The code:
'#include <wctype.h>' fails on clang, as stddef.h defines (via a series of
macros and ifdefs):
typedef unsigned int wint_t;
On the other hand
#include <wchar.h>
#include <wctype.h>
works correctly on both compilers, as wchar.h defines wint_t if it is not
otherwise defined.
This blocks some boost files when using g++ 4.4.3 as the underlying compiler.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs