File r1826-Do-not-force-c++98-standard-for-GNUCXX-compiler.patch of Package podofo.23799
------------------------------------------------------------------------
r1826 | aja_ | 2017-02-26 20:51:46 +0100 (dom, 26 feb 2017) | 2 lines
Do not force c++98 standard for GNUCXX compiler
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt (revision 1825)
+++ CMakeLists.txt (revision 1826)
@@ -296,9 +296,9 @@
SET(PODOFO_USE_VISIBILITY ${PODOFO_HAVE_GCC4})
ENDIF(NOT DEFINED PODOFO_USE_VISIBILITY)
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++98")
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Woverloaded-virtual -Wswitch-enum -Wcast-qual -Wwrite-strings -Wredundant-decls -Wreorder")
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Woverloaded-virtual -Wswitch-enum -Wcast-qual -Wwrite-strings -Wredundant-decls -Wreorder -Wno-deprecated-declarations")
#
# Note that we do not need debug definitions here. Set
------------------------------------------------------------------------