Re: #ifdef's and #include's
I can't see anything wrong with what you have posted.
Maybe there is a problem in one of the other header files.
Re: #ifdef's and #include's
Hi
There is nothing wrong there. Please check out ur code one. It may be giving that problem due to some other bug.
Srini.
Srinidhi Rao
Re: #ifdef's and #include's
Are the 4 header files in your project? If not that might be what is causing the error. I have used conditional assemblies like this with NO errors.
Roger L. McElfresh
Re: #ifdef's and #include's
I'm pity to tell you I suppose your header file: first.h or second.h, maybe some nest error.
And, I can almost ensure that error is in second.h.
So, check the header file, to ensure it's no any error, just like:
#ifndef __second_h
#define __second_h
//...
#endif//__second_h
#endif//ERROR!
//END OF FILE
Notice that no matched #ifdef above it.
So, good lucky!
FlyingYe