diff --git a/rosidl_typesupport_opensplice_c/cmake/rosidl_typesupport_opensplice_c_generate_interfaces.cmake b/rosidl_typesupport_opensplice_c/cmake/rosidl_typesupport_opensplice_c_generate_interfaces.cmake index 3f9e00a..d9ed02f 100644 --- a/rosidl_typesupport_opensplice_c/cmake/rosidl_typesupport_opensplice_c_generate_interfaces.cmake +++ b/rosidl_typesupport_opensplice_c/cmake/rosidl_typesupport_opensplice_c_generate_interfaces.cmake @@ -289,7 +289,8 @@ if(BUILD_TESTING AND rosidl_generate_interfaces_ADD_LINTER_TESTS) ament_uncrustify( TESTNAME "uncrustify_rosidl_typesupport_opensplice_c" # the generated code might contain longer lines for templated types - MAX_LINE_LENGTH 999 + # set the value to zero to tell uncrustify to ignore line lengths + MAX_LINE_LENGTH 0 ${_generated_files}) endif() endif() diff --git a/rosidl_typesupport_opensplice_cpp/cmake/rosidl_typesupport_opensplice_cpp_generate_interfaces.cmake b/rosidl_typesupport_opensplice_cpp/cmake/rosidl_typesupport_opensplice_cpp_generate_interfaces.cmake index 707a633..4d60813 100644 --- a/rosidl_typesupport_opensplice_cpp/cmake/rosidl_typesupport_opensplice_cpp_generate_interfaces.cmake +++ b/rosidl_typesupport_opensplice_cpp/cmake/rosidl_typesupport_opensplice_cpp_generate_interfaces.cmake @@ -304,7 +304,8 @@ if(BUILD_TESTING AND rosidl_generate_interfaces_ADD_LINTER_TESTS) ament_uncrustify( TESTNAME "uncrustify_rosidl_typesupport_opensplice_cpp" # the generated code might contain longer lines for templated types - MAX_LINE_LENGTH 999 + # set the value to zero to tell uncrustify to ignore line lengths + MAX_LINE_LENGTH 0 ${_generated_files}) endif() endif()