Clean-up code to satisfy GCC's pedantic mode requirements. Add fix for Clang not working with GCC 5 C++ library (https://llvm.org/bugs/show_bug.cgi?id=23529)

This commit is contained in:
Marko Zivanovic
2015-11-25 15:22:13 +01:00
parent d1759caf1c
commit aecbc92030
8 changed files with 33 additions and 16 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ endif()
if(UNIX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -Wextra -pedantic")
add_definitions(-std=c++11)
add_definitions(-std=c++14)
endif()
if(WIN32)