[LLVMdev] Type uint64_t required but not found

John Criswell criswell at cs.uiuc.edu
Tue Aug 31 13:58:23 PDT 2004


Reid Spencer wrote:
> Well, if it doesn't break anything else, I'd fix the header file. The
> standard type name is supposed to uint64_t not u_int64_t. I would just
> change the header file to define both of them, something like:
> 
> typedef u_int64_t uint64_t;
> 
> You could do that in /usr/include/types.h, or we could add it to a
> header file in llvm/include/Config, ifdef'd for Interix. 

I think that we should add a check for u_int64_t and do a typedef in 
llvm/include/Config (or something similar).  I don't think we can expect 
Interix users to correct their header files (especially since the next 
Interix upgrade will just unfix it again).

-- John T.

-- 
*********************************************************************
* John T. Criswell                         Email: criswell at uiuc.edu *
* Research Programmer                                               *
* University of Illinois at Urbana-Champaign                        *
*                                                                   *
* "It's today!" said Piglet. "My favorite day," said Pooh.          *
*********************************************************************





More information about the llvm-dev mailing list