You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
(Sorry for fuzzy title; can't figure out better words.)
On macOS, I use cmake to generate the compile_commands.json file for my project. color_coded finds this, but still appends/prepends the extra compile options found in default.hpp. This causes conflicting compile options to be submitted to the clang backend; and syntax coloring to fail due to mismatching stdlibc versions.
I disabled the default additional compile options (by patching the functions to return {};), which fixes the issue entirely. This makes sense, as the compile_commands.json database contains the exact and correct compile options. I'm not sure what the right way to go here is in general. My guess is that defaults should not be added if there is a compile_commands.json used?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
(Sorry for fuzzy title; can't figure out better words.)
On macOS, I use cmake to generate the
compile_commands.json
file for my project. color_coded finds this, but still appends/prepends the extra compile options found indefault.hpp
. This causes conflicting compile options to be submitted to the clang backend; and syntax coloring to fail due to mismatching stdlibc versions.I disabled the default additional compile options (by patching the functions to
return {};
), which fixes the issue entirely. This makes sense, as thecompile_commands.json
database contains the exact and correct compile options. I'm not sure what the right way to go here is in general. My guess is that defaults should not be added if there is acompile_commands.json
used?The text was updated successfully, but these errors were encountered: