[cfe-commits] [patch] _Bool in yvals.h
Chris Lattner
clattner at apple.com
Sun Oct 10 10:32:52 PDT 2010
On Oct 10, 2010, at 12:59 AM, Michael Spencer wrote:
>
> On Thu, May 20, 2010 at 3:51 PM, Douglas Gregor <dgregor at apple.com> wrote:
>> [snip ...]
>> It would be much better just to make sure that _Bool isn't a keyword in -fms-extensions mode.
>>
>> - Doug
>
> I have filed a bug (http://llvm.org/bugs/show_bug.cgi?id=8349) on this
> issue because it is currently breaking a lot of the test-suite on
> Windows when compiled with clang.
>
> I feel very strongly that asking for extensions does not mean that I
> want to break perfectly valid C99 code. Extensions should _never_
> change the meaning of an otherwise standard compliant program. When I
> give clang -fms-extensions I am asking for extensions, not MSVC
> emulation.
I tend to agree. It seems better to handle this problem with a hack to ignore the typedef from the header file. Similar to the __is_pod thing?
-Chris
More information about the cfe-commits
mailing list