Henrik Bach
2004-Jul-14 19:31 UTC
[LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared (firstuse this function)
>From: John Criswell <criswell at cs.uiuc.edu> >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? >Yes.>Please let us know if you run into any more problems. >I'll do. /Henrik _________________________________________________________________ F� alle de nye og sjove ikoner med MSN Messenger http://www.msn.dk/messenger
Chris Lattner
2004-Jul-14 19:49 UTC
[LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared (firstuse this function)
On Wed, 14 Jul 2004, Henrik Bach wrote:> >From: John Criswell <criswell at cs.uiuc.edu> > >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.The file you need to modify is here: llvm/include/Support/DataTypes.h.in 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. -Chris -- http://llvm.cs.uiuc.edu/ http://nondot.org/sabre/
Apparently Analagous Threads
- [LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared(firstuse this function)
- [LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared(firstuse this function)
- [LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared(firstuse this function)
- [LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared(firstuse this function)
- [LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared (first use this function)