[LLVMbugs] [Bug 14000] New: Compilation warnings/errors with Visual Studio 2010

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 2 14:07:21 PDT 2012


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

             Bug #: 14000
           Summary: Compilation warnings/errors with Visual Studio 2010
           Product: compiler-rt
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: compiler-rt
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: micah.villmow at amd.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


2>d:\llvm\projects\compiler-rt\lib\int_lib.h(37): fatal error C1083: Cannot
open include file: 'stdbool.h': No such file or directory
2>d:\llvm\projects\compiler-rt\lib\int_util.h(27): error C2061: syntax error :
identifier '__attribute__'
2>d:\llvm\projects\compiler-rt\lib\int_util.h(27): error C2059: syntax error :
';'
2>d:\llvm\projects\compiler-rt\lib\int_util.h(27): error C2182: 'noreturn' :
illegal use of type 'void'

2>cl : Command line warning D9002: ignoring unknown option '-std=c99'
2>cl : Command line warning D9002: ignoring unknown option '-m64'
2>  adddf3.c
12>------ Build started: Project: MSP430CommonTableGen, Configuration: Debug
Win32 ------
2>cl : Command line warning D9002: ignoring unknown option '-std=c99'
2>cl : Command line warning D9002: ignoring unknown option '-m64'
2>  addsf3.c
2>cl : Command line warning D9002: ignoring unknown option '-std=c99'
2>cl : Command line warning D9002: ignoring unknown option '-m64'
2>cl : Command line warning D9002: ignoring unknown option '-std=c99'
2>  addvdi3.c
2>cl : Command line warning D9002: ignoring unknown option '-m64'
2>  addvsi3.c
2>cl : Command line warning D9002: ignoring unknown option '-std=c99'
2>cl : Command line warning D9002: ignoring unknown option '-m64'
4>..\..\..\..\..\projects\compiler-rt\lib\asan\asan_win.cc(162): fatal error
C1189: #error :  Please build the runtime with a non-debug CRT: /MD or /MT

5>..\..\..\..\..\projects\compiler-rt\lib\asan\asan_malloc_win.cc(121): error
C2664: '__interception::GetRealFunctionAddress' : cannot convert parameter 2
from 'void **' to '__interception::uptr *'
5>          Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
5>..\..\..\..\..\projects\compiler-rt\lib\asan\asan_malloc_win.cc(127): error
C2065: 'ptrdiff_t' : undeclared identifier
5>..\..\..\..\..\projects\compiler-rt\lib\asan\asan_malloc_win.cc(127): error
C2146: syntax error : missing ';' before identifier 'jmp_offset'
5>..\..\..\..\..\projects\compiler-rt\lib\asan\asan_malloc_win.cc(127): error
C2065: 'jmp_offset' : undeclared identifier
5>..\..\..\..\..\projects\compiler-rt\lib\asan\asan_malloc_win.cc(128): warning
C4309: '=' : truncation of constant value
5>..\..\..\..\..\projects\compiler-rt\lib\asan\asan_malloc_win.cc(129): error
C2065: 'jmp_offset' : undeclared identifier
5>..\..\..\..\..\projects\compiler-rt\lib\asan\asan_malloc_win.cc(129): error
C2065: 'jmp_offset' : undeclared identifier
5>..\..\..\..\..\projects\compiler-rt\lib\asan\asan_malloc_win.cc(129): error
C2070: ''unknown-type'': illegal sizeof operand

5>cl : Command line warning D9002: ignoring unknown option '-fPIC'
5>cl : Command line warning D9002: ignoring unknown option '-fno-builtin'
5>cl : Command line warning D9002: ignoring unknown option '-fno-exceptions'
5>cl : Command line warning D9002: ignoring unknown option
'-fomit-frame-pointer'
5>cl : Command line warning D9002: ignoring unknown option '-funwind-tables'
5>cl : Command line warning D9002: ignoring unknown option
'-fvisibility=hidden'
5>cl : Command line warning D9002: ignoring unknown option '-O3'

-- 
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