Skip to content
Snippets Groups Projects
Commit 78f95ee9 authored by Bryan O'Sullivan's avatar Bryan O'Sullivan
Browse files

Fix build of buffer_file with g++ 4.3

parent 42264240
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,8 @@ if (LINUX)
# widespread of them.
if (${CXX_VERSION} MATCHES "4.3")
add_definitions(-Wno-deprecated -Wno-parentheses)
add_definitions(-Wno-parentheses)
set(CMAKE_CXX_FLAGS "-Wno-deprecated ${CMAKE_CXX_FLAGS}")
endif (${CXX_VERSION} MATCHES "4.3")
# End of hacks.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment