Robotics StackExchange | Archived questions

clang tidy error while exporting rqt plugin in lower case

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 'rqthelloworldEXPORTS' [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: PLUGINLIBEXPORTCLASS(rqthelloworld::HelloWorld, rqtguicpp::Plugin) Any suggestions on resolving this error, apart from changing .clang-tidy file for macro with aNycase.

Asked by bhargav_1 on 2019-10-23 14:43:18 UTC

Comments

Answers