clang tidy error while exporting rqt plugin in lower case

asked 2019-10-23 14:43:18 -0500

bhargav_1 gravatar image

I am trying to build rqt_helloworld plugin with cland-tidy in CMake, I get the following error:

“ error: invalid case style for macro definition 'rqt_helloworld_EXPORTS' [readability-identifier-naming,-warnings-as-errors] 58144 warnings generated. Suppressed 58143 warnings (58143 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 1 warning treated as error "

I think it is related to the line: PLUGINLIB_EXPORT_CLASS(rqt_helloworld::HelloWorld, rqt_gui_cpp::Plugin) Any suggestions on resolving this error, apart from changing .clang-tidy file for macro with aNy_case.

edit retag flag offensive close merge delete