too many include files depth = 1024错误原因

VS 中出现too many include files depth = 1024错误,出现错误的原因是头文件直接或间接的引用了自身,导致引用的死循环。因此针对性的修改头文件结构,或者使用#ifndef...#define...#endif宏命令来选择性地包含头文件。参考地址:https://stackoverflow.com/questions/2582521/fatal-error-c1014-too-many-include-files-depth-1024

posted on 2017-08-28 11:16  GISVito  阅读(683)  评论(0编辑  收藏  举报

导航