summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2017-09-21 18:30:16 (GMT)
committerGitHub <noreply@github.com>2017-09-21 18:30:16 (GMT)
commitdd05f37d224b606ac725bf69db4f25715e89d87b (patch)
treea9f5595fc9c4c113310e5bc1232ab69e9be035df /src
parent8667acc294d68fbcf99623ae62124ccd4c99a652 (diff)
parentcd0faad90e9b6ce83fa1f7b4fb27a39357b0cae3 (diff)
downloadDoxygen-dd05f37d224b606ac725bf69db4f25715e89d87b.zip
Doxygen-dd05f37d224b606ac725bf69db4f25715e89d87b.tar.gz
Doxygen-dd05f37d224b606ac725bf69db4f25715e89d87b.tar.bz2
Merge pull request #603 from lrineau/master
Suppression warnings about deprecated directive
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2218e82..6a6ae67 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -63,7 +63,7 @@ set_source_files_properties(${GENERATED_SRC}/configoptions.cpp PROPERTIES GENERA
# ce_parse.h
add_custom_command(
- COMMAND ${BISON_EXECUTABLE} -l -d -p ce_parsexpYY ${CMAKE_SOURCE_DIR}/src/constexp.y -o ce_parse.c
+ COMMAND ${BISON_EXECUTABLE} -l -d -p ce_parsexpYY -Wno-deprecated ${CMAKE_SOURCE_DIR}/src/constexp.y -o ce_parse.c
DEPENDS ${CMAKE_SOURCE_DIR}/src/constexp.y
OUTPUT ${GENERATED_SRC}/ce_parse.h
WORKING_DIRECTORY ${GENERATED_SRC}
@@ -119,7 +119,7 @@ FLEX_TARGET(xmlcode xmlcode.l ${GENERATED_SRC}/xmlcode.cpp
FLEX_TARGET(sqlcode sqlcode.l ${GENERATED_SRC}/sqlcode.cpp COMPILE_FLAGS "${LEX_FLAGS}")
FLEX_TARGET(configimpl configimpl.l ${GENERATED_SRC}/configimpl.cpp COMPILE_FLAGS "${LEX_FLAGS}")
-BISON_TARGET(constexp constexp.y ${GENERATED_SRC}/ce_parse.cpp COMPILE_FLAGS "${YACC_FLAGS}")
+BISON_TARGET(constexp constexp.y ${GENERATED_SRC}/ce_parse.cpp COMPILE_FLAGS "-Wno-deprecated ${YACC_FLAGS}")
add_library(doxycfg STATIC
${GENERATED_SRC}/lang_cfg.h