We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d66b6db commit 3491f4fCopy full SHA for 3491f4f
rosidl_typesupport_introspection_tests/CMakeLists.txt
@@ -15,6 +15,12 @@ if(BUILD_TESTING)
15
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
16
add_compile_options(-Wall -Wextra -Wpedantic)
17
endif()
18
+ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
19
+ # When building under Clang, the "TYPED_TEST_SUITE" macros in the tests print the following
20
+ # warning: "must specify at least one argument for '...' parameter of variadic macro".
21
+ # Since this isn't really a problem, and will be allowed under C++20, just disable the warning.
22
+ add_compile_options(-Wno-gnu-zero-variadic-macro-arguments)
23
+ endif()
24
25
find_package(rosidl_cmake REQUIRED)
26
find_package(rosidl_generator_c REQUIRED)
0 commit comments