remove undef, add on cmakelists
This commit is contained in:
		
							parent
							
								
									48896f81dd
								
							
						
					
					
						commit
						223e6ca85a
					
				|  | @ -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") | ||||
|  |  | |||
|  | @ -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> | ||||
|  |  | |||
|  | @ -21,8 +21,6 @@ | |||
|  * THE SOFTWARE. | ||||
|  */ | ||||
| 
 | ||||
| #undef __STRICT_ANSI__ | ||||
| 
 | ||||
| #include "logger.h" | ||||
| #include "util.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -21,8 +21,6 @@ | |||
|  * THE SOFTWARE. | ||||
|  */ | ||||
| 
 | ||||
| #undef __STRICT_ANSI__ | ||||
| 
 | ||||
| #include "util.h" | ||||
| #include <cstdio> | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Henrique Santiago
						Henrique Santiago