Commented out the warning disabling block

This commit is contained in:
Robert Osfield 2009-01-08 11:35:57 +00:00
parent edd11bac2d
commit a5ebf338ac

View File

@ -178,9 +178,9 @@ IF(WIN32)
ENDIF(WIN32_USE_MP) ENDIF(WIN32_USE_MP)
# turn off various warnings # turn off various warnings
foreach(warning 4244 4251 4267 4275 4290 4786 4305 4996) # foreach(warning 4244 4251 4267 4275 4290 4786 4305 4996)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd${warning}") # SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd${warning}")
endforeach(warning) # endforeach(warning)
# More MSVC specific compilation flags # More MSVC specific compilation flags
ADD_DEFINITIONS(-D_SCL_SECURE_NO_WARNINGS) ADD_DEFINITIONS(-D_SCL_SECURE_NO_WARNINGS)