http://llvm.org/bugs/show_bug.cgi?id=8349
Summary: _Bool keyword is not defined in -fms-extensions
Product: clang
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
The _Bool keyword isn't defined when in -fms-extensions mode. I know the reason
is because one of the MS headers typedefs it, but this makes C99 code not work
on Windows.
I think that _Bool should always be a keyword, but allow typedefing it as a
ms-extension. The typedef _must_ be:
typedef bool _Bool;
Anything else is an error.
My reasoning for this is that extensions should be just that, extensions. No
standard features should be removed when extensions are enabled.
--
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