[LLVMbugs] [Bug 16532] New: OFF_T OFF64_T ambiguous under gcc 4.4.7

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 3 13:20:30 PDT 2013


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

            Bug ID: 16532
           Summary: OFF_T OFF64_T ambiguous under gcc 4.4.7
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: hfinkel at anl.gov
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I don't know if compiler-rt is even supposed to build under gcc 4.4.7, but if
it is, then this is broken:

[ 63%] Building CXX object
projects/compiler-rt/lib/interception/CMakeFiles/RTInterception.powerpc64.dir/interception_type_test.cc.o
/src/llvm-cmake/llvm/projects/compiler-rt/lib/interception/interception_type_test.cc:28:
error: reference to ‘OFF64_T’ is ambiguous 
/src/llvm-cmake/llvm/projects/compiler-rt/lib/interception/interception.h:31:
error: candidates are: typedef __sanitizer::OFF64_T OFF64_T
/src/llvm-cmake/llvm/projects/compiler-rt/lib/interception/../sanitizer_common/sanitizer_internal_defs.h:80:
error:                 typedef __sanitizer::u64 __sanitizer::OFF64_T
/src/llvm-cmake/llvm/projects/compiler-rt/lib/interception/interception_type_test.cc:28:
error: reference to ‘OFF64_T’ is ambiguous
/src/llvm-cmake/llvm/projects/compiler-rt/lib/interception/interception.h:31:
error: candidates are: typedef __sanitizer::OFF64_T OFF64_T
/src/llvm-cmake/llvm/projects/compiler-rt/lib/interception/../sanitizer_common/sanitizer_internal_defs.h:80:
error:                 typedef __sanitizer::u64 __sanitizer::OFF64_T
/src/llvm-cmake/llvm/projects/compiler-rt/lib/interception/interception_type_test.cc:36:
error: reference to ‘OFF_T’ is ambiguous    
/src/llvm-cmake/llvm/projects/compiler-rt/lib/interception/interception.h:30:
error: candidates are: typedef __sanitizer::OFF_T OFF_T
/src/llvm-cmake/llvm/projects/compiler-rt/lib/interception/../sanitizer_common/sanitizer_internal_defs.h:78:
error:                 typedef __sanitizer::uptr __sanitizer::OFF_T
/src/llvm-cmake/llvm/projects/compiler-rt/lib/interception/interception_type_test.cc:36:
error: reference to ‘OFF_T’ is ambiguous
/src/llvm-cmake/llvm/projects/compiler-rt/lib/interception/interception.h:30:
error: candidates are: typedef __sanitizer::OFF_T OFF_T
/src/llvm-cmake/llvm/projects/compiler-rt/lib/interception/../sanitizer_common/sanitizer_internal_defs.h:78:
error:                 typedef __sanitizer::uptr __sanitizer::OFF_T

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130703/1d94060b/attachment.html>


More information about the llvm-bugs mailing list