We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bba7d5 commit ec35904Copy full SHA for ec35904
1 file changed
cmake/SC_CXX_schema_macros.cmake
@@ -102,6 +102,12 @@ macro(SCHEMA_TARGETS expFile schemaName sourceFiles)
102
target_compile_options("${PROJECT_NAME}" PRIVATE "/bigobj")
103
endif()
104
105
+ # TODO - ideally we would avoid generating code that triggers this warning, but figuring out
106
+ # how to do so is a non-trivial exercise. In the meantime, suppress the (very verbose) warnings
107
+ # we get due to this issue so it doesn't mask other problems.
108
+ if(${CMAKE_C_COMPILER_ID} STREQUAL "GNU")
109
+ target_compile_options("${PROJECT_NAME}" PRIVATE "-Wno-ignored-qualifiers")
110
+ endif()
111
112
113
if($CACHE{SC_BUILD_STATIC_LIBS})
0 commit comments