Hi,
I have a C++ project in Eclipse CDT with MinGW.
In the project there is a file hit.h containing the class Hit. The costructor is:
Hit ()
{
t = (float)HUGE;
material = NULL;
normal = Vec3f (0.0, 0.0, 0.0);
}
I receive an error in build-time on the line
The error is: 'HUGE' was not declared in this scope
In the same project there is a glut.h file with an another error at the line:
_CRTIMP __declspec (noreturn) void __cdecl exit (_In_ int _Code);
The error is: '_In_' was not declared in this scope
The project properties are:
GCC C++ Compiler -> Command: g++ -lm
GCC C Compiler -> Command: gcc -lm
MinGW C++ Compiler -> Command: g++ -lm
MinGW C++ Compiler -> Libraries -> glu32 , glut32 e opengl32
Can you help me? 
Thanks a lot!