Constants.cpp:368: error: `INT8_MAX' undeclared (firstuse this function)

From: John Criswell <>
Date: Wed, 14 Jul 2004 09:11:03 -0500

The DataTypes.h header file is generated by the configure script and placed into your build tree. My best guess is that your system's header files do not correctly define these macros, so they are missing.

I did a search on the build and source trees, but neither found the constant. Anyway, I'll try to find the header file.

Apparently, the MicroSoft compilers have the same problem. You might want to change the #ifdef guards in DataTypes.h so that all the stuff that is defined when _MSC_VER is defined is also defined on your system.

You're building on Interix, right?


Please let us know if you run into any more problems.

I'll do.


The file you need to modify is here:

There is currently support for building in non-cygwin windows environments
protected by _MSC_VER. You just need to broaden the scope of the #ifndef
to include internix.