cmake/Tests/RunCMake/try_compile/CxxStandardGNU.cxx

12 lines
279 B
C++
Raw Normal View History

2017-04-14 19:02:05 +02:00
#if __cplusplus != 201103L && \
!(__cplusplus < 201103L && defined(__GXX_EXPERIMENTAL_CXX0X__))
2018-08-09 18:06:22 +02:00
# error "Not GNU C++ 11 mode!"
2017-04-14 19:02:05 +02:00
#endif
#ifndef __STRICT_ANSI__
2018-08-09 18:06:22 +02:00
# error "Not GNU C++ strict ANSI!"
2017-04-14 19:02:05 +02:00
#endif
int main()
{
return 0;
}