Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: gabyx on June 24, 2015, 02:26:35 pm
-
I have the built svn 10234 (from jenslody https://apt.jenslody.de/)
my workflow, I generate with cmake a codeblocks project, compiler is set to clang++, then in codeblocks I set the compiler to clang (build options -> target -> compiler), then I compile, and the output seems not to be parsed correctly (compiler notes are wrongly parsed for exmaple)
Which regex parsing rules are used when configuring a Makefile project with cmake for codeblocks?
it seems that the regex parsing stuff for the clang compiler is not correct:
in codeblocks/options/options_clang.xml which refers to the codeblocks/options/options_common_re.xml)
for example the compiler notes are not parsed correctly :
clang uses some special syntax:
for example:
/usr/local/include/meta/meta.hpp:1627:9: note
is not parsed correctly
Is there some up to date parsing rules for the clang compiler?
or what do I need to do to succesfully parse clang output in codeblocks with my cmake setup
Thanks a lot :-)
-
Settings -> Compiler
Select the correct compiler
Tab on far right named "Other Settings"
Click on "Advanced options.."
Tab "Output Parsing" is likely what you want to change.
Tim S.