Hi everyone!
I have just ran into an error in which I don't know how to resolve. I'm trying to compile some code I have but it gives me the following : error C1189: #error : ERROR: You must use a GNU Compiler.
Before receiving this error I had received one stating that the header file "_mingw.h" was missing. I located that file and placed it in the correct folder. I also updated the project properties to locate the header file. The error itself says that I must use a GNU Compiler but I'm not exactly sure how to do this.I do have mingw installed on the PC though
The error points to this part of the code :
#define __MINGW32_VERSION 3.2
#define __MINGW32_MAJOR_VERSION 3
#define __MINGW32_MINOR_VERSION 20
#define __MINGW32_PATCHLEVEL 0
#ifndef __GNUC__
#error ERROR: You must use a GNU Compiler.
#endif
#if (__GNUC__ < 3 || !defined(__GNUC_MINOR__) || (__GNUC__ == 3 && __GNUC_MINOR__ < 4) || (__GNUC__ == 3 && __GNUC_MINOR__ == 4 && __GNUC_PATCHLEVEL__ < 5))
#error ERROR: You must use a GNU Compiler version >= 3.4.5.
#endif
Also to note, I have the most recent version 4.8.4.1 of the compiler.
Any ideas on what I should so to fix this? Did placing the _mingw.h file in the folder have anything to do with it?
I would appreciate any help!! :-)