My code was compiling just fine until recently i started using a pair for stl maps and then their was some issue. Every time i compile any file which was compiling just fine before hand i get the error
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 ===|
I got around 50 repetitive errors but i have shown only a few. I have searched everywhere for this kind of error but i can't seem to find a solution. Any help will be appreciated.
Aucun commentaire:
Enregistrer un commentaire