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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to