Skip to content

Commit 5424da3

Browse files
committed
cppapi/server/idl: Ignore unused-parameter for clang as well
Exposed with the new C++11 compilation, but ultimately forgotten in cc8f943 (cppapi/server: Ignore warnings for generated code, 2019-11-15).
1 parent 2858602 commit 5424da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cppapi/server/idl/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ else(WIN32)
8282
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
8383
target_compile_options(idl_objects PRIVATE -Wno-maybe-uninitialized -Wno-unused-parameter)
8484
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
85-
target_compile_options(idl_objects PRIVATE -Wno-sometimes-uninitialized -Wno-unused-variable)
85+
target_compile_options(idl_objects PRIVATE -Wno-sometimes-uninitialized -Wno-unused-variable -Wno-unused-parameter)
8686
endif()
8787

8888
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tango.h DESTINATION "${CMAKE_INSTALL_FULL_INCLUDEDIR}/tango/idl")

0 commit comments

Comments
 (0)