summaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2022-07-03 20:38:16 +0200
committerTor Egge <Tor.Egge@online.no>2022-07-03 20:38:16 +0200
commit6eec89fe8dae2f8e89cbdf35790e536db22f71ec (patch)
treefd7473d1241c822fa699b60bc59f85c142488b27 /document
parenteed883ef1d070fac08c7ba59d1e34dc754143b18 (diff)
Disable noexcept warning when compiling generated document selection parser.
Diffstat (limited to 'document')
-rw-r--r--document/src/vespa/document/select/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/document/src/vespa/document/select/CMakeLists.txt b/document/src/vespa/document/select/CMakeLists.txt
index 7c5cf0747a7..11a62fbb9c8 100644
--- a/document/src/vespa/document/select/CMakeLists.txt
+++ b/document/src/vespa/document/select/CMakeLists.txt
@@ -46,3 +46,6 @@ vespa_add_library(document_select OBJECT
#TODO Remove once we have a recently new flex compiler. At least 2.5.38/39 or 2.6
set_source_files_properties(${FLEX_DocSelLexer_OUTPUTS} PROPERTIES COMPILE_FLAGS -Wno-register)
+if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
+ set_source_files_properties(${BISON_DocSelParser_OUTPUTS} PROPERTIES COMPILE_FLAGS -Wno-noexcept)
+endif()