[LLVMdev] Errors building llvm

Anton Korobeynikov asl at math.spbu.ru
Tue Jun 17 23:29:47 PDT 2008

Hi, Chris

> Can you please send in a patch so we can fix this on mainline?
This known problem: stdint.h on cygwin declares {u}int32_t type to be
'long', not 'int'. And this causes problems with APInt's uint32_t =>
unsigned casts. I myself don't know good direct fix except patching
Cygwin's stdint.h itself.

With best regards, Anton Korobeynikov.

Faculty of Mathematics & Mechanics, Saint Petersburg State University.

More information about the llvm-dev mailing list