Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Unknown argument "-mlongcalls"; did you mean "-mlong-calls" when indexing ESP32 project #1210

Closed
erusyd opened this issue Aug 18, 2021 · 0 comments

Comments

@erusyd
Copy link

erusyd commented Aug 18, 2021

When I use Sourcetrail to index an ESP32 CMake project, I get serveral hundreds of ERRORs:
image

"-mlongcalls" is from compile_commands.json which is generated using bear, for example:
image

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?

@erusyd erusyd closed this as completed Sep 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant