[LLVMdev] Warnings in headers when compiling on OS X

Rick Mann rmann at latencyzero.com
Tue Jan 15 15:42:33 PST 2013


Hi. Certain headers generate warnings like this one:

/usr/local/llvm/include/llvm/Support/IntegersSubset.h:465:12: Implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'unsigned int'

464:  static unsigned getNumItemsFromConstant(Constant *C) {
465:    return cast<ArrayType>(C->getType())->getNumElements();
466:  }

There are a few other conversion warnings in the few headers I'm currently using.

Can I write this up as a bug (i.e., is it fixable)?

-- 
Rick







More information about the llvm-dev mailing list