mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[cmake,compiler] disable -Wc++-keyword
This is a C project, so C++ support is only required in public API headers. Disable this warning.
This commit is contained in:
@@ -26,7 +26,7 @@ if(ENABLE_WARNING_VERBOSE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
list(APPEND COMMON_COMPILER_FLAGS -Wimplicit-function-declaration -Wno-jump-misses-init)
|
||||
list(APPEND COMMON_COMPILER_FLAGS -Wimplicit-function-declaration -Wno-jump-misses-init -Wno-c++-keyword)
|
||||
|
||||
foreach(FLAG ${COMMON_COMPILER_FLAGS})
|
||||
checkcflag(${FLAG})
|
||||
|
||||
Reference in New Issue
Block a user