代码块中存在内部错误

Internal Error in codeblocks

本文关键字:在内部 错误 存在 代码      更新时间:2023-10-16

我的代码编译得很好,直到最近我开始使用一对stl映射,然后它们出现了一些问题。

每次我编译之前编译得很好的任何文件时,我都会得到错误

无论其功能如何,每个文件都会出现相同的错误。这是一些内部错误 每当我试图编译代码时,这个文件stl_functions.h就会自动打开。

c:program files   (x86)codeblocksmingwbin..libgccmingw324.4.1includec++bitsstl_function.h|143|error: declaration of 'class _Tp'|
c:program files (x86)codeblocksmingwbin..libgccmingw324.4.1includec++bitsstl_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个重复错误,但我只显示了几个。我到处找这种错误,但似乎找不到解决办法。任何帮助都将不胜感激。

您是否偶然尝试编辑标准标头?重新安装MinGW/Code::块,它应该可以再次工作。