How to let MS C++ compiler to recognize type not defined in #include? -
i have 3 projects a, b, c. c depends on b. b depends on a. has type x defined in x.h. when b uses in useb.h file without include x.h. b project can built in vs2013. however, when maintain project c, cannot build because x type not defined useb.h cannot compile.
any ms c++ guru know this?
just figure out in stdafx.h of project b includes header includes x.h controlled enabled/disabled preprocessor. there further work enable it. it's not tricky compiler problem.
Comments
Post a Comment