ros_msg_parser icon indicating copy to clipboard operation
ros_msg_parser copied to clipboard

Recursive Includes Warning

Open ardabbour opened this issue 4 years ago • 0 comments

ros_parser.hpp includes shape_shifter.hpp and vice-versa leading to clangd-10 screaming:

ros_parser.hpp:
    In included file: main file cannot be included recursively when building a preamble clang(pp_including_mainfile_in_preamble) [40, 10]
shape_shifter.hpp:
    In included file: main file cannot be included recursively when building a preamble clang(pp_including_mainfile_in_preamble) [41, 10]

whenever I include ros_parser.hpp

ardabbour avatar Nov 09 '21 10:11 ardabbour