User forums > Using Code::Blocks
C::B Global variables issue
MortenMacFly:
--- Quote from: mandrav on August 19, 2006, 10:54:22 pm ---Someone else who can verify this behaviour?
--- End quote ---
Here is someone (if I got that right). I've created a directory on the desktop (the path to the desktop has enough spaces in it). Then I extracted into this the archive. Thus I get this folder structure:
--- Code: ---[DT]
- CT
|- CompileTest
|- Include
--- End code ---
I've setup the GV to point to [DT]\CT and the include property of this variable to point to [DT]\CT\Include. Then when I change something in the header file "CompileTest.h" and press "Build" (not Re-Build!) the first target (the working one) re-compiles but the second doesn't (after I changed again and again something in the header file). Is this supposed to be the bug? If so, what to do from here?
BTW: If I put all those files in a directory without spaces it works - so indeed it might be related to that...?!
With regards, Morten.
mandrav:
OK, I managed to reproduce it. Stay tuned...
mandrav:
Fixed.
--- Quote ---I've setup the GV to point to [DT]\CT and the include property of this variable to point to [DT]\CT\Include.
--- End quote ---
Morten, btw you don't have to set the include property if it's {global_var}\include. That's the default anyway. You only have to set it if it points to another dir...
nix_BB:
:D
Fantastic - Thanks alot guys - I thought I was going loopy!
Excellent support as usual.
-Nix
MortenMacFly:
--- Quote from: mandrav on August 20, 2006, 12:08:11 pm ---Morten, btw you don't have to set the include property if it's {global_var}\include. That's the default anyway. You only have to set it if it points to another dir...
--- End quote ---
Thanks - but I knew already. It was just my last setting to reproduce this issue, because I had a different directory structure before. Anyway: In former times this was written as a lable (hint) on top of these textboxes...
Thomas: Do you think it's worth mentioning these default on the GCV dialog?! Because this is not necessarily obvious.
With regards, Morten.
Edit: Uh - just know I saw you've fixed this already... fast as usual! Thanks! :P
Navigation
[0] Message Index
[*] Previous page
Go to full version