Onega

a lot of VC++ posts, a few C# posts, and some miscellaneous stuff

Tuesday, January 11, 2005

#include brings too many dependencies

20050111, I have included one more header to an existing header file, unfortunately this file is used by another project. That project complains loudly for unresovled link problem. At last it is fixed by conditional compile(does not include it if this header file is used in other project).

#ifndef xxxx
#include my_new_header
#endif

0 Comments:

Post a Comment

<< Home