User forums > Using Code::Blocks
remove file path in errors/warning
(1/1)
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 :)
Navigation
[0] Message Index
Go to full version