Page 1 of 1

Implementing Into Irrlicht - One Error

Posted: Sun Oct 24, 2004 08:02
by CrazyEddie
Somewhere in one of your includes macros are being defined for min and max, which totally breaks any correct code using simple constructs such as std::min and std::max. Typically, such lunacy comes from a Microsoft DX or Windows header.

The fix is simply to #undef min and #undef max after including the offending header file.

HTH

CE.