[LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared (first use this function)
Henrik Bach
henrik_bach_llvm at hotmail.com
Wed Jul 14 05:42:12 PDT 2004
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:
-----------------------------------
Compiling Constants.cpp
Constants.cpp: In static member function `static bool
llvm::ConstantSInt::isValueValidForType(const llvm::Type*, long long
int)':
Constants.cpp:368: error: `INT8_MAX' undeclared (first use this function)
Constants.cpp:368: error: (Each undeclared identifier is reported only once
for
each function it appears in.)
Constants.cpp:368: error: `INT8_MIN' undeclared (first use this function)
Constants.cpp:370: error: `INT16_MAX' undeclared (first use this function)
Constants.cpp:370: error: `INT16_MIN' undeclared (first use this function)
Constants.cpp:372: error: `INT32_MAX' undeclared (first use this function)
Constants.cpp:372: error: `INT32_MIN' undeclared (first use this function)
Constants.cpp: In static member function `static bool
llvm::ConstantUInt::isValueValidForType(const llvm::Type*, long long
unsigned int)':
Constants.cpp:387: error: `UINT8_MAX' undeclared (first use this function)
Constants.cpp:389: error: `UINT16_MAX' undeclared (first use this function)
Constants.cpp:391: error: `UINT32_MAX' undeclared (first use this function)
gmake[2]: *** [/usr/local/src/llvm/lib/VMCore/Debug/Constants.lo] Error 1
-----------------------------------
Does anyone have an idea where to #include or #define these constants?
Kind regards
Henrik
_________________________________________________________________
Få alle de nye og sjove ikoner med MSN Messenger http://www.msn.dk/messenger
More information about the llvm-dev
mailing list