[lldb-dev] [Bug 18236] New: Linux build error: Host.cpp switch statement, multiple define cases with same value

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Dec 12 16:05:47 PST 2013


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

            Bug ID: 18236
           Summary: Linux build error: Host.cpp switch statement, multiple
                    define cases with same value
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: tfiala at google.com
    Classification: Unclassified

/usr/local/google/home/tfiala/lldb/work/llvm/tools/lldb/source/Host/common/Host.cpp:
In static member function ‘static const char*
lldb_private::Host::GetSignalAsCString(int)’:
/usr/local/google/home/tfiala/lldb/work/llvm/tools/lldb/source/Host/common/Host.cpp:515:5:
error: duplicate case value
     case SIGIO:     return "SIGIO";     // 23    input/output possible signal
     ^
/usr/local/google/home/tfiala/lldb/work/llvm/tools/lldb/source/Host/common/Host.cpp:494:5:
error: previously used here
     case SIGPOLL:   return "SIGPOLL";   // 7    pollable event ([XSR]
generated, not supported)
     ^

Core issue: on Ubuntu 12.04 x86_64, SIGIO and SIGPOLL both define to the same
value.

Candidate fix in progress.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20131213/b19bdf9a/attachment.html>


More information about the lldb-dev mailing list