Browse Source

Added boost define BOOST_RESULT_OF_USE_DECLTYPE for gcc.

Former-commit-id: b346362805
tempestpy_adaptions
dehnert 10 years ago
parent
commit
ba4b71a353
  1. 2
      CMakeLists.txt

2
CMakeLists.txt

@ -96,7 +96,7 @@ if(CMAKE_COMPILER_IS_GNUCC)
set(STORM_COMPILED_BY "GCC") set(STORM_COMPILED_BY "GCC")
# Set standard flags for GCC # Set standard flags for GCC
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -funroll-loops") set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -funroll-loops")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -pedantic -DBOOST_RESULT_OF_USE_TR1")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -pedantic -DBOOST_RESULT_OF_USE_DECLTYPE")
# -Werror is atm removed as this gave some problems with existing code # -Werror is atm removed as this gave some problems with existing code
# May be re-set later # May be re-set later
# (Thomas Heinemann, 2012-12-21) # (Thomas Heinemann, 2012-12-21)

Loading…
Cancel
Save