[LLVMbugs] [Bug 371] NEW: lib/Transforms/Utils/Local.cpp:303: error: `isnan' was not declared in this scope

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Jun 17 14:18:46 PDT 2004


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=371

           Summary: lib/Transforms/Utils/Local.cpp:303: error: `isnan' was
                    not declared in this scope
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Transformation Utilities
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: wanderer at rsu.ru


I can compile current CVS llvm using current CVS mainline GCC (3.5.0 20040617).

Compile process terminated with error:
---8X------------------------------------
Compiling Local.cpp
/home/wanderer/pkg/build/llvm/src/llvm/lib/Transforms/Utils/Local.cpp: In 
function `llvm::Constant* llvm::ConstantFoldCall(llvm::Function*, 
conststd::vector<llvm::Constant*, std::allocator<llvm::Constant*> >&)':
/home/wanderer/pkg/build/llvm/src/llvm/lib/Transforms/Utils/Local.cpp:303: 
error: `isnan' was not declared in this scope
gmake[3]: *** 
[/usr/home/wanderer/pkg/build/llvm/obj/lib/Transforms/Utils/Debug/Local.lo] 
Error 1
gmake[3]: Leaving directory 
`/usr/home/wanderer/pkg/build/llvm/obj/lib/Transforms/Utils'
gmake[2]: *** [Utils/.makeall] Error 2
gmake[2]: Leaving directory 
`/usr/home/wanderer/pkg/build/llvm/obj/lib/Transforms'
gmake[1]: *** [Transforms/.makeall] Error 2
gmake[1]: Leaving directory `/usr/home/wanderer/pkg/build/llvm/obj/lib'
gmake: *** [all] Error 1
---X8------------------------------------
adding std:: prefix to isnan resolve problem in my case



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the llvm-bugs mailing list