Do not treat warning "'this' pointer is null" appearing with GCC 12 as error
It is about code included from libclang and likely wrong so let's just not abort the compilation due to it.
This commit is contained in:
parent
762540f5e5
commit
a6b9d771aa
|
@ -60,6 +60,9 @@ endif ()
|
|||
# also add reflective_rapidjson which is header-only but might pull additional include dirs for RapidJSON
|
||||
list(APPEND PRIVATE_LIBRARIES "${REFLECTIVE_RAPIDJSON_TARGET_NAME}")
|
||||
|
||||
# avoid warning "'this' pointer is null" from GCC 12 about code included from libclang
|
||||
list(APPEND META_PRIVATE_COMPILE_OPTIONS "-Wno-error=nonnull")
|
||||
|
||||
# include modules to apply configuration
|
||||
include(BasicConfig)
|
||||
include(WindowsResources)
|
||||
|
|
Loading…
Reference in New Issue