Skip to content
Snippets Groups Projects
Commit c61048cf authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Hide maybe-uninitialized warning from Vc

parent 33e4e24f
No related branches found
No related tags found
2 merge requests!4386Merge master into FTRetinaSeedRawBanks,!4322Fixes for gcc 13, clang 16 and C++20
Pipeline #6365278 passed
......@@ -38,3 +38,9 @@ gaudi_add_dictionary(RichUtilsDict
LINK LHCb::RichUtils
OPTIONS ${LHCB_DICT_GEN_DEFAULT_OPTS}
)
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 13.0)
# Hide warnings produced by gcc 13 from dictionary:
# Vc/common/malloc.h:99:14: warning: '<anonymous>' may be used uninitialized [-Wmaybe-uninitialized]
target_compile_options(RichUtilsDict PRIVATE -Wno-maybe-uninitialized)
endif()
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