[LLVMbugs] [Bug 3625] New: _IntSaturate() macro from FixMath. h fails to compile when a PCH importing Foundation.h is used

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Feb 19 17:19:45 PST 2009


http://llvm.org/bugs/show_bug.cgi?id=3625

           Summary: _IntSaturate() macro from FixMath.h fails to compile
                    when a PCH importing Foundation.h is used
           Product: clang
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: catfish.man at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2588)
 --> (http://llvm.org/bugs/attachment.cgi?id=2588)
Xcode project that demonstrates the issue

The attached project compiles successfully with gcc, fails with clang. 

Built via xcodebuild CC=$CCC LD=$CCC, with CCC=/llvm/tools/clang/tools/ccc/ccc
and PATH=/Volumes/Other/llvm/Release-Asserts/bin/:$PATH


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list