Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » problem with HUGE pointer
problem with HUGE pointer [message #725225] Wed, 14 September 2011 09:58
Davide  is currently offline Davide Friend
Messages: 1
Registered: September 2011
Junior Member
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

t = (float)HUGE;

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? Smile

Thanks a lot!
Previous Topic:Cannot find references or declaration in the gray part
Next Topic:when is the Syntax coloring be detemined ? (modified)
Goto Forum:
  


Current Time: Thu Apr 25 03:48:14 GMT 2024

Powered by FUDForum. Page generated in 0.02520 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top