[Qt-creator] Clickable gcc output to go to error location
Daniel Lidström
daniel.lidstrom at sbg.se
Mon Feb 8 09:26:27 CET 2010
> From: Tobias Hunger [mailto:tobias.hunger at nokia.com]
>
> Hello Daniel!
>
> Ah, this explains things:
>
> daniel-dev:GEOROG-2598> make jam > output.txt
> daniel-dev:GEOROG-2598> cat output.txt | grep ": warning" | head -n 1
> GEOROG-2598/GeoROG/GCore/GCore.cpp:131:2: warning: #warning
> Product name
> has not been set in the Makefile! Setting to "UMC 3D"
>
> We expect GCC to report errors and warnings on stderr! Maybe bjam is
> redirecting them to stdout?
>
> A dirty hack would be to change the Makefile to redirect all
> output from
> bjam from stdout to stderr... Of course we would also welcome you to
> contribute a bjam buildstep for the genericproject:-) That
> way you could
> add a parser for any issues reported by the bjam buildsystem as well.
Thanks Tobias for this explanation! I think I might go with the dirty hack for now.
/Daniel
More information about the Qt-creator-old
mailing list