[cfe-commits] [PATCH] Produce -Wc++0x-compat warnings if C++98 code uses C++11 keywords

Richard Smith richard at metafoo.co.uk
Tue Oct 11 14:54:20 PDT 2011


On Tue, October 11, 2011 22:40, Douglas Gregor wrote:
> On Oct 11, 2011, at 2:38 PM, David A Dean wrote:
>> I'm seeing this test failure:
>>
>> ******************** TEST 'Clang :: Lexer/cxx0x_keyword_as_cxx98.cpp'
>> FAILED ********************Script:
>> --
>> /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.clang-x86_64-darwi
>> n10-gcc42-RA/clang-build/Release+Asserts/bin/clang -cc1
>> /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.clang-x86_64-darw
>> in10-gcc42-RA/clang.src/test/Lexer/cxx0x_keyword_as_cxx98.cpp -verify
>> -fsyntax-only
>> --
>> Exit Code: 1
>> Command Output (stderr):
>> --
>> error: 'error' diagnostics seen but not expected:
>> Line 4: thread-local storage is unsupported for the current target
>> 1 error generated.
>> --
>
> Perhaps thread_local isn't the best test keyword to use :)
>
> Richard, can you pick something different?

Sure. Should be fixed in r141719.

Thanks!
Richard




More information about the cfe-commits mailing list