Merge branch 'develop'

This commit is contained in:
jzmaddock
2014-02-08 16:51:25 +00:00
2 changed files with 16 additions and 1 deletions

View File

@ -65,5 +65,11 @@ test-suite config
]
[ compile-fail threads/test_thread_fail1.cpp ]
[ compile-fail threads/test_thread_fail2.cpp ]
[ compile boost_fallthrough_test.cpp : <toolset>clang:<cxxflags>"-std=c++11 -Wimplicit-fallthrough" <warnings-as-errors>on <warnings>all ]
[ compile boost_fallthrough_test.cpp : [ check-target-builds has_clang_implicit_fallthrough "Clang implicit fallthrough" : <toolset>clang:<cxxflags>"-std=c++11 -Wimplicit-fallthrough" <warnings-as-errors>on <warnings>all ] ]
;
obj has_clang_implicit_fallthrough : cmd_line_check.cpp :
<toolset>clang:<cxxflags>"-std=c++11 -Wimplicit-fallthrough" <warnings-as-errors>on <warnings>all ;
explicit has_clang_implicit_fallthrough ;

9
test/cmd_line_check.cpp Normal file
View File

@ -0,0 +1,9 @@
#ifndef __clang__
# error "This test is for Clang only"
#endif
int main()
{
return 0;
}