I have looked around this forum, and other places using Google search, but cannot find descriptions of a similar problem.Īny suggested solutions will be appreciated.
So, I am figuring that I have done something wrong in the installation of the 64 bit compiler, but I cannot figure out what that something might be. I do not know what crtdef.h is, or does, but I assume it is somehow part of, since that is the only header included in the default "Hello World" program. Several other similar “does not name a type†errors appear until the 50 error max is reached. _MINGW_EXTENSION typedef unsigned _int64 size_t Įrror: ‘_MINGW_EXTENSION’ does not name a type. The compiler identifies an error on line 36 in crtdef.h. However, I get a compiler error when I try to compile this same code using the 64 bit compiler. This program compiles and runs just fine when I use the default GNU GCC compiler (32 bit) that comes with the CodeBlocks installation. I then followed the instruction for installing this compiler in the CodeBlocks found on these two start with a console base project, and try to compile the default “Hello World†program that CodeBlocks creates.
16.01) and the most recent version of MinGW64 using TDM-GCC Compiler Suite for Windows. To do this I have downloaded and installed the most recent version of CodeBlocks (v. (I have also tried this on a Windows 10 system with the same results).
I am trying to update to the MinGW 64 bit C++ compiler within CodeBlocks on a Windows 7 system.