remove undef, add on cmakelists

This commit is contained in:
Henrique Santiago 2011-04-13 22:30:41 -03:00
parent 48896f81dd
commit 223e6ca85a
4 changed files with 1 additions and 7 deletions

View File

@ -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")

View File

@ -39,8 +39,6 @@ typedef int32_t int32;
typedef int16_t int16;
typedef int8_t int8;
#undef __STRICT_ANSI__
// C headers
#include <cstdio>
#include <cstdlib>

View File

@ -21,8 +21,6 @@
* THE SOFTWARE.
*/
#undef __STRICT_ANSI__
#include "logger.h"
#include "util.h"

View File

@ -21,8 +21,6 @@
* THE SOFTWARE.
*/
#undef __STRICT_ANSI__
#include "util.h"
#include <cstdio>