User forums > Using Code::Blocks

Showing relative paths in "Build messages"

(1/2) > >>

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.

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:
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.

--- End quote ---

Yes, that is my reason too :-)

Navigation

[0] Message Index

[#] Next page

Go to full version