Explain why we can't do much about this gcc warning

reg. command-line option ‘-Wno-absolute-value’ is valid for C/ObjC but not for C++
This commit is contained in:
Joachim Schmitz 2023-09-02 21:29:52 +02:00 committed by Igor Korsukov
parent fcfca6aa08
commit 4eafda1215
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ target_no_warning(${MODULE} -Wno-shift-negative-value)
target_no_warning(${MODULE} -Wno-implicit-fallthrough)
target_no_warning(${MODULE} -Wno-empty-body)
target_no_warning(${MODULE} -Wno-attributes)
target_no_warning(${MODULE} -Wno-absolute-value)
target_no_warning(${MODULE} -Wno-absolute-value) # we need this for C code in this module , but not for its C++ code
#target_no_warning(${MODULE} -Wno-tautological-pointer-compare)
target_no_warning(${MODULE} -WMSVC-no-translation-unit-is-empty)
target_no_warning(${MODULE} -WMSVC-no-nonstandard-extension-used)