Fixed error forming reference to reference (issue #495)

This commit is contained in:
Benoit Blanchon
2017-05-04 21:58:28 +02:00
parent 9efc0ec40d
commit cc66618e70
3 changed files with 17 additions and 12 deletions

View File

@ -29,6 +29,12 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
-Wstrict-overflow=5
-Wundef
)
if(NOT MINGW)
add_compile_options(
-std=c++98
)
endif()
endif()
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")