News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

remove file path in errors/warning

Started by Freem, April 12, 2012, 03:39:27 PM

Previous topic - Next topic

Freem

I do not think there is such feature, but I am asking myself if there is a way to parse build messages to remove "useless" path.
By example, files the project own could replace the "/home/devel/foo_prj/include/" with simple "include/".
I know and understand that it should need to be done for each compiler separately, because it is something about the parsing of their output, but I would like to know how such kind of thing could be done?

Jenna

This might work, if you uncheck "Settings -> Compiler... -> [your_compiler] -> Other Settings -> Advanced options... -> Others -> Use full paths for sources files (GDB workaround)".
In some rare cases it might break debugging, but in most cases it works without this option as far as I know.

Freem

Thanks a lot. It will probably help me a lot :)