Revision 32165 branches/v2_0_0_prep/build/CMakeModules/GeneralMacros.cmake

View differences:

GeneralMacros.cmake
29 29
	    # semicolons and commas, and the use of long long. -fpermissive seems
30 30
	    # to be the workaround.
31 31
	    SET(AGGRESSIVE_WARNING_FLAGS "-Wall -Wparentheses -Wformat=2 -Wno-long-long -Wno-import -pedantic -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wunused")
32
		IF(NOT APPLE)
33
			SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-fpermissive")
34
		ENDIF(NOT APPLE)
32
		#IF(NOT APPLE)
33
		#	SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-fpermissive")
34
		#ENDIF(NOT APPLE)
35 35
	ELSE(CMAKE_COMPILER_IS_GNUCXX)
36 36
	    IF(MSVC)
37 37
	        # FIXME: What are good aggressive warning flags for Visual Studio?

Also available in: Unified diff