[CMAKE]
authorThomas Faber <thomas.faber@reactos.org>
Sat, 20 Jul 2013 10:02:50 +0000 (10:02 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sat, 20 Jul 2013 10:02:50 +0000 (10:02 +0000)
- Why the heck do we need GNU C++ extensions aka fix build

svn path=/trunk/; revision=59533

reactos/cmake/gcc.cmake

index 93ad2f8..12e70e0 100644 (file)
@@ -15,7 +15,7 @@ if(GCC_VERSION VERSION_GREATER 4.7)
     add_compile_flags("-mstackrealign")
 endif()
 
-add_compile_flags_language("-fno-rtti -fno-exceptions -std=c++11" "CXX")
+add_compile_flags_language("-fno-rtti -fno-exceptions -std=gnu++11" "CXX")
 
 #bug
 #file(TO_NATIVE_PATH ${REACTOS_SOURCE_DIR} REACTOS_SOURCE_DIR_NATIVE)