fix c++98 being detected as newer than c++11

This commit is contained in:
Ferdinand Bachmann
2020-04-18 15:33:56 +02:00
parent d67b00aa2f
commit 34260c53cb
3 changed files with 19 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
#if __cpluplus < CXX_STANDARD
#error "c++ standard not new enough"
#endif
int main() {}