DevTrigger
2003.11.20, 09:09 PM
I'm getting this error during compilation at about line 50 in the glut.h header file. The line reads:
typedef unsigned short wchar_t;
The Error that I'm getting is:
"redeclaration of C++ built-in"
Am I doing something wrong? or am I using an incorrect header file?? I compile using Dev-C++ so it's a mingw based compiler. I already have the mingw lib files, so I don't think that's the problem. I tried commenting out that line, and the program compiles, but then throws an exception and crashes. Any help would be great.
typedef unsigned short wchar_t;
The Error that I'm getting is:
"redeclaration of C++ built-in"
Am I doing something wrong? or am I using an incorrect header file?? I compile using Dev-C++ so it's a mingw based compiler. I already have the mingw lib files, so I don't think that's the problem. I tried commenting out that line, and the program compiles, but then throws an exception and crashes. Any help would be great.