[LLVMdev] missing llabs define in VS: DAGCombiner.cpp

Chris Lattner sabre at nondot.org
Thu Oct 20 10:01:39 PDT 2005


On Thu, 20 Oct 2005, W Shumaker wrote:

> grumble, grumble, MS does not have llabs()
> llabs() is not defined in Visual Studio, however, _abs64() is. But if I switch to
> _abs64() the linker does not resolve __abs64(). I thought _abs64() was suppose
> to be in the CRT library. Any hints for a solution?
> c:\devwl\llvm\lib\CodeGen\SelectionDAG\DAGCombiner.cpp(295) : error C3861: 'llabs': identifier not found, even with argument-dependent lookup

Ugh, that is annoying.  I just checked in a patch to open code it, so the 
call should be gone. Lemme know if you still have a problem,

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/




More information about the llvm-dev mailing list