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

Hi

By manipulating a #define for G++ I've managed to compile int64_t type with ostream.

Now, I'm stopped by some to me unknown constants:

Henrik Bach wrote:

Hi

By manipulating a #define for G++ I've managed to compile int64_t type with ostream.

These constants are ultimately defined in llvm/include/Support/DataTypes.h. This file is included by Constants.h, which is included by Constants.cpp.

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.

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.

-- John T.