Replies: 1 comment 2 replies
-
You can merge your additional defines with the ones fro the compileCommands provider by setting the "mergeConfigurations" property to true. See the implementation at #8174 . |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
There are some internal preprocessors in cross-compiling compiler, and these preprocessors are not present in compile_commands.json. I defined these in defines field in c_cpp_properties.json. But it cannot work. Then I found this,
why overwrite defines? how to avoid this?
Beta Was this translation helpful? Give feedback.
All reactions