diff --git a/CMakeLists.txt b/CMakeLists.txt index c6b8a764..c4f1fa78 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,7 @@ MESSAGE(STATUS "BUILD TYPE: " ${CMAKE_BUILD_TYPE}) # setup compiler options IF(CMAKE_COMPILER_IS_GNUCXX) - SET(CMAKE_CXX_FLAGS "-Wall -Wextra -Werror -Wno-unused-parameter -std=c++0x") + SET(CMAKE_CXX_FLAGS "-Wall -Wextra -Werror -Wno-unused-parameter -std=gnu++0x") SET(CMAKE_CXX_FLAGS_DEBUG "-O1 -g -ggdb -fno-inline") SET(CMAKE_CXX_FLAGS_RELEASE "-O2 -Wl,-s") SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g") diff --git a/src/framework/prerequisites.h b/src/framework/prerequisites.h index 56599edd..f69fff0f 100644 --- a/src/framework/prerequisites.h +++ b/src/framework/prerequisites.h @@ -39,8 +39,6 @@ typedef int32_t int32; typedef int16_t int16; typedef int8_t int8; -#undef __STRICT_ANSI__ - // C headers #include #include diff --git a/src/framework/util/logger.cpp b/src/framework/util/logger.cpp index fa49b856..57b07953 100644 --- a/src/framework/util/logger.cpp +++ b/src/framework/util/logger.cpp @@ -21,8 +21,6 @@ * THE SOFTWARE. */ -#undef __STRICT_ANSI__ - #include "logger.h" #include "util.h" diff --git a/src/framework/util/util.cpp b/src/framework/util/util.cpp index 4ffdd038..e1ffd224 100644 --- a/src/framework/util/util.cpp +++ b/src/framework/util/util.cpp @@ -21,8 +21,6 @@ * THE SOFTWARE. */ -#undef __STRICT_ANSI__ - #include "util.h" #include