When I use Sourcetrail to index an ESP32 CMake project, I get serveral hundreds of ERRORs:
"-mlongcalls" is from compile_commands.json which is generated using bear, for example:
I know this is because Sourcetrail use Clang to parse C/C++ files. Clang uses "-mlong-calls", but GCC uses "-mlongcalls".
So how to set Sourcetrail to recognize GCC's "-mlongcalls" argument?
When I use Sourcetrail to index an ESP32 CMake project, I get serveral hundreds of ERRORs:![image](https://user-images.githubusercontent.com/1529102/129833014-8adc9339-ed80-4856-968b-6f4e581d5ce1.png)
"-mlongcalls" is from compile_commands.json which is generated using bear, for example:![image](https://user-images.githubusercontent.com/1529102/129832659-991f99aa-21ff-42b1-9d28-f8ecbb0049e7.png)
I know this is because Sourcetrail use Clang to parse C/C++ files. Clang uses "-mlong-calls", but GCC uses "-mlongcalls". So how to set Sourcetrail to recognize GCC's "-mlongcalls" argument?