User forums > Help
CB ignores one header file
Pecan:
My project looks like
\cbKeyMacs
common cpp files
common header files
version.h
\App (sub directory)
KeyMacsApp.cbp
app.cpp
app.h
\Plugin (sub directory)
KeyMacsPlugin.cbp
KeyMacs.cpp
keyMacs.h
Notice that version.h is in the top directory.
It's included by app.h and keyMacs.h
When I change version.h, CB says there is nothing to be done.
I have "Explicitly Add currently compiling files directory to compiler search dir" check.
I have "Explicitly Add project top level directory to compiler search dirs" check.
What am I overlooking?
I have
stahta01:
Just to suggest the simple thing to verify
Is version.h under the "Headers" when you expand it in C::B?
Is the include using <version.h> or "version.h", if <version.h>
I would try #include "version.h"
Tim S
Pecan:
--- Quote from: stahta01 on January 17, 2007, 02:01:13 am ---Just to suggest the simple thing to verify
Is version.h under the "Headers" when you expand it in C::B?
Is the include using <version.h> or "version.h", if <version.h>
I would try #include "version.h"
Tim S
--- End quote ---
version.h is included as #include "version.h"
Curiously enough, there's another header in the same place called debugging.h. It does not have the problem. I change debugging.h and the project re-compiles.
stahta01:
Here's two very long long shots.
Have your verified that the file date is correct when you update it?
Also, is it correct on the files including the .h file?
And, is you system clock correct?
Tim S
Pecan:
--- Quote from: stahta01 on January 17, 2007, 03:45:34 am ---Here's two very long long shots.
Have your verified that the file date is correct when you update it?
Also, is it correct on the files including the .h file?
And, is you system clock correct?
Tim S
--- End quote ---
No, clock looks ok, and the file is as follows. Note, it the latest date and time.
Navigation
[0] Message Index
[#] Next page
Go to full version