User forums > Using Code::Blocks
Does not recompile changed header files?
jarod42:
tested with release version 10.05
Adding -I. to compile successfully
and I reproduce the bug.
Watching the LogStream.depend:
strange: 3 entries for logstream.cpp (with different path)
--- Code: ---1340202085 c:\programacion\ktools2\headers\logstream.hpp
<string>
<fstream>
<stdexcept>
"..\..\Headers\General.hpp"
--- End code ---
And I don't know how depend handle relative path
since
..\..\Headers\General.hpp should be relative to logstream.cpp directory
and not from LogStream.hpp directory (and it is LogStream.hpp which depends directly on General.hpp).
oBFusCATed:
10.05 is highly uninteresting version to test this :)
carra:
Well, yes: some recent version would be better. But at least, that makes it less likely that the issue is just some bad configuration on my part :)
Jenna:
It works correctly here on windows (7600) and linux (8059).
carra:
--- Quote from: jens on June 20, 2012, 11:30:20 pm ---It works correctly here on windows (7600) and linux (8059).
--- End quote ---
Interesting, I have just tried the example on another computer (this one is windows, C::B 7966) and exactly the same happens. I can modify General.hpp as I want, even with illegal syntax, and it never recompiles.
But the fact that both you and I get consistent results on our different systems is interesting. Maybe it has something to do with the C::B configuration we use??
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version