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

原文地址:https://www.cnblogs.com/gisvito/p/7442933.html