News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Showing relative paths in "Build messages"

Started by pozzugno, December 17, 2010, 12:46:08 PM

Previous topic - Next topic

pozzugno

My compiler outputs warnings and errors with the full/absolute pathname for each file.
Of course this pathname is shown in "Build messages" frame of C::B.

How can I convert the absolute to the relative pathname against the main project
directory?

oBFusCATed

What do you need this feature, for?

Probably to fix this you'll need to modify the code.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

mirai

IMO, full paths are probably uncomfortable because they can be much longer than relative paths and may simply not fit in a window while they do contain redundant information that only brings confusion instead of help.

Jenna

#3
You can try to uncheck "Settings -> Compiler and debugger... -> Global compiler settings -> [the compiler you use] -> Other settings -> Advanced options... -> Others -> Use full Paths for source files (GDB workaround):".

But it can break debugging in some cases.

pozzugno

Quote from: mirai on December 17, 2010, 03:54:26 PM
IMO, full paths are probably uncomfortable because they can be much longer than relative paths and may simply not fit in a window while they do contain redundant information that only brings confusion instead of help.

Yes, that is my reason too :-)

pozzugno

Quote from: jens on December 17, 2010, 04:00:07 PM
You can try to uncheck "Settings -> Compiler and debugger... -> Global compiler settings -> [the compiler you use] -> Other settings -> Advanced options... -> Others -> Use full Paths for source files (GDB workaround):".

Great, that works... :-)

Quote from: jens on December 17, 2010, 04:00:07 PM
But it can break debugging in some cases.

Oh, I'm not interested in debugging.