User forums > Using Code::Blocks
sudden amnesia of linker?
BlueHazzard:
I would prefer this patch...
oBFusCATed:
BlueHazzard:
Are you able to reproduce the problem?
If so can you enlighten us about the steps needed to reproduce it?
BlueHazzard:
To reproduce the bug, you have only to create a project and add a class with the class wizzard.
The options "Add path to Project", "Use relative Path", and "Header and implementation file shall be in the same folder"
and the folder should point to the main project directory.
The problem is, that the relative path to the project directory is nothing (or a empty string). And if we add a empty Include path, c::b produce the output with the empty -I flag.
My patch checks if the path to add to the include directories is empty, if so, reject it... (or should we add a "."?)
greetings
Jenna:
I would prefer the "-I .", because it does what the wizard is told to do (add the reletive path).
@oBFusCATed: I can reproduce it now also, you have to uncheck "Explicitely add currently compiling file's directory to compilers search dir" in compiler options.
oBFusCATed:
Great now you'll choose a way to fix it :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version