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

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -