[LLVMbugs] [Bug 12242] New: Build failure on NetBSD

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Mar 11 15:36:46 PDT 2012


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

             Bug #: 12242
           Summary: Build failure on NetBSD
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: NetBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: js-llvm-bugzilla at webkeks.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Triple.cpp: In static member function 'static const char*
llvm::Triple::getOSTypeName(llvm::Triple::OSType)':
Triple.cpp:97:10: warning: enumeration value 'NetBSD' not handled in switch
[-Wswitch]
Triple.cpp:111:3: warning: case value '199905' not in enumerated type
'llvm::Triple::OSType' [-Wswitch]
Triple.cpp: In function 'llvm::Triple::OSType parseOS(llvm::StringRef)':
Triple.cpp:277:35: error: expected unqualified-id before numeric constant
Triple.cpp:286:1: warning: control reaches end of non-void function
[-Wreturn-type]

This is already happening for a long time. NetBSD 5.0 AMD64.
./configure --enable-optimized --disable-debug

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