我的代码编译得很好,直到最近我开始使用一对stl贴图然后他们的问题才出现。
每次我编译任何正好编译的文件之前我都会得到错误
每个文件都会出现相同的错误,无论其功能如何。它有一些内部错误。 我曾经尝试编译代码,这个文件stl_functions.h会自动打开。
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\include\c++\bits\stl_function.h|143|error: declaration of 'class _Tp'|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\include\c++\bits\stl_function.h|134|error: shadows template parm 'class _Tp'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 0 warnings ===|
我有大约50个重复错误,但我只展示了几个。 我到处寻找这种错误,但我似乎无法找到解决方案。 任何帮助将不胜感激。
答案 0 :(得分:0)
您是否偶然尝试编辑标准标题?重新安装MinGW / Code :: Blocks,它应该再次运行。