DX9 - 'FLT_MAX' undeclared

Discussion about everything. New games, 3d math, development tips...
Post Reply
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

DX9 - 'FLT_MAX' undeclared

Post by Acki »

Hi,
I have a strange error when recompiling the engine !!! :shock:
And I think this has nothing to do with Irrlicht itself, so I post it here... ;)

Now, the file "CD3D8Driver.cpp" compiles without any problems, but "CD3D9Driver.cpp" gives me this error: 'FLT_MAX' undeclared !?!?!

What's really curious is, that this definition (it's from the DX sdk) is also used in CD3D8Driver.cpp, but there is no prblem with this !?!?!

How could this be ???
In CD3D8Driver.cpp it's declared but in CD3D9Driver.cpp it's not !?!?!

I'm using Code::Blocks (latest Nightly build) with GCC compiler (also latest version)...

EDIT:
OK, I reinstalled my IDE and now it works again as expected...
But it's still over my head what this could caused before ???
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Post Reply