<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - lots of warnings when building lldb"
   href="http://llvm.org/bugs/show_bug.cgi?id=19418">19418</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>lots of warnings when building lldb
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>tfarina@chromium.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>tfiala@google.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>../tools/lldb/source/API/SBCommunication.cpp: In member function 'bool
lldb::SBCommunication::SetReadThreadBytesReceivedCallback(lldb::SBCommunication::ReadThreadBytesReceived,
void*)':
../tools/lldb/source/API/SBCommunication.cpp:253:54: warning: ISO C++ forbids
casting between pointer-to-function and pointer-to-object [enabled by default]
                      reinterpret_cast<void*>(callback),
                                                      ^
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-deprecated-register"
[enabled by default]
[325/829] Building CXX object
tools/lldb/source/API/CMakeFiles/lldbAPI.dir/SBBreakpoint.cpp.o
In file included from /usr/include/python2.7/Python.h:8:0,
                 from ../tools/lldb/include/lldb/lldb-python.h:21,
                 from
../tools/lldb/include/lldb/Interpreter/ScriptInterpreterPython.h:20,
                 from
../tools/lldb/include/lldb/DataFormatters/TypeSummary.h:27,
                 from
../tools/lldb/include/lldb/DataFormatters/FormattersContainer.h:30,
                 from
../tools/lldb/include/lldb/DataFormatters/FormatManager.h:23,
                 from ../tools/lldb/include/lldb/Core/Debugger.h:27,
                 from ../tools/lldb/source/API/SBBreakpoint.cpp:22:
/usr/include/python2.7/pyconfig.h:1161:0: warning: "_POSIX_C_SOURCE" redefined
[enabled by default]
 #define _POSIX_C_SOURCE 200112L
 ^
In file included from
/usr/local/gcc/gcc-4.8.2/include/c++/4.8.2/x86_64-unknown-linux-gnu/bits/os_defines.h:39:0,
                 from
/usr/local/gcc/gcc-4.8.2/include/c++/4.8.2/x86_64-unknown-linux-gnu/bits/c++config.h:426,
                 from /usr/local/gcc/gcc-4.8.2/include/c++/4.8.2/utility:68,
                 from /usr/local/gcc/gcc-4.8.2/include/c++/4.8.2/algorithm:60,
                 from ../tools/lldb/include/lldb/Utility/SharingPtr.h:13,
                 from ../tools/lldb/include/lldb/lldb-forward.h:15,
                 from ../tools/lldb/include/lldb/lldb-types.h:14,
                 from ../tools/lldb/include/lldb/lldb-defines.h:13,
                 from ../tools/lldb/include/lldb/API/SBDefines.h:18,
                 from ../tools/lldb/include/lldb/API/SBBreakpoint.h:13,
                 from ../tools/lldb/source/API/SBBreakpoint.cpp:10:
/usr/include/features.h:164:0: note: this is the location of the previous
definition
 # define _POSIX_C_SOURCE 200809L
 ^
In file included from /usr/include/python2.7/Python.h:8:0,
                 from ../tools/lldb/include/lldb/lldb-python.h:21,
                 from
../tools/lldb/include/lldb/Interpreter/ScriptInterpreterPython.h:20,
                 from
../tools/lldb/include/lldb/DataFormatters/TypeSummary.h:27,
                 from
../tools/lldb/include/lldb/DataFormatters/FormattersContainer.h:30,
                 from
../tools/lldb/include/lldb/DataFormatters/FormatManager.h:23,
                 from ../tools/lldb/include/lldb/Core/Debugger.h:27,
                 from ../tools/lldb/source/API/SBBreakpoint.cpp:22:
/usr/include/python2.7/pyconfig.h:1183:0: warning: "_XOPEN_SOURCE" redefined
[enabled by default]
 #define _XOPEN_SOURCE 600
 ^
In file included from
/usr/local/gcc/gcc-4.8.2/include/c++/4.8.2/x86_64-unknown-linux-gnu/bits/os_defines.h:39:0,
                 from
/usr/local/gcc/gcc-4.8.2/include/c++/4.8.2/x86_64-unknown-linux-gnu/bits/c++config.h:426,
                 from /usr/local/gcc/gcc-4.8.2/include/c++/4.8.2/utility:68,
                 from /usr/local/gcc/gcc-4.8.2/include/c++/4.8.2/algorithm:60,
                 from ../tools/lldb/include/lldb/Utility/SharingPtr.h:13,
                 from ../tools/lldb/include/lldb/lldb-forward.h:15,
                 from ../tools/lldb/include/lldb/lldb-types.h:14,
                 from ../tools/lldb/include/lldb/lldb-defines.h:13,
                 from ../tools/lldb/include/lldb/API/SBDefines.h:18,
                 from ../tools/lldb/include/lldb/API/SBBreakpoint.h:13,
                 from ../tools/lldb/source/API/SBBreakpoint.cpp:10:
/usr/include/features.h:166:0: note: this is the location of the previous
definition
 # define _XOPEN_SOURCE 700
 ^
cc1plus: warning: unrecognized command line option "-Wno-deprecated-register"
[enabled by default]
[328/829] Building CXX object
tools/lldb/source/API/CMakeFiles/lldbAPI.dir/SBHostOS.cpp.o
../tools/lldb/source/API/SBHostOS.cpp: In static member function 'static
lldb::thread_t lldb::SBHostOS::ThreadCreate(const char*, lldb::thread_func_t,
void*, lldb::SBError*)':
../tools/lldb/source/API/SBHostOS.cpp:54:67: warning: ISO C++ forbids casting
between pointer-to-function and pointer-to-object [enabled by default]
                      name, reinterpret_cast<void*>(thread_function),
                                                                   ^
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-deprecated-register"
[enabled by default]
[330/829] Building CXX object
tools/lldb/source/API/CMakeFiles/lldbAPI.dir/SBBreakpointLocation.cpp.o
In file included from /usr/include/python2.7/Python.h:8:0,
                 from ../tools/lldb/include/lldb/lldb-python.h:21,
                 from
../tools/lldb/include/lldb/Interpreter/ScriptInterpreterPython.h:20,
                 from
../tools/lldb/include/lldb/DataFormatters/TypeSummary.h:27,
                 from
../tools/lldb/include/lldb/DataFormatters/FormattersContainer.h:30,
                 from
../tools/lldb/include/lldb/DataFormatters/FormatManager.h:23,
                 from ../tools/lldb/include/lldb/Core/Debugger.h:27,
                 from ../tools/lldb/source/API/SBBreakpointLocation.cpp:20:
/usr/include/python2.7/pyconfig.h:1161:0: warning: "_POSIX_C_SOURCE" redefined
[enabled by default]
 #define _POSIX_C_SOURCE 200112L
 ^
In file included from
/usr/local/gcc/gcc-4.8.2/include/c++/4.8.2/x86_64-unknown-linux-gnu/bits/os_defines.h:39:0,
                 from
/usr/local/gcc/gcc-4.8.2/include/c++/4.8.2/x86_64-unknown-linux-gnu/bits/c++config.h:426,
                 from /usr/local/gcc/gcc-4.8.2/include/c++/4.8.2/utility:68,
                 from /usr/local/gcc/gcc-4.8.2/include/c++/4.8.2/algorithm:60,
                 from ../tools/lldb/include/lldb/Utility/SharingPtr.h:13,
                 from ../tools/lldb/include/lldb/lldb-forward.h:15,
                 from ../tools/lldb/include/lldb/lldb-types.h:14,
                 from ../tools/lldb/include/lldb/lldb-defines.h:13,
                 from ../tools/lldb/include/lldb/API/SBDefines.h:18,
                 from ../tools/lldb/include/lldb/API/SBBreakpointLocation.h:13,
/usr/include/features.h:164:0: note: this is the location of the previous
definition
 # define _POSIX_C_SOURCE 200809L
 ^
In file included from /usr/include/python2.7/Python.h:8:0,
                 from ../tools/lldb/include/lldb/lldb-python.h:21,
                 from
../tools/lldb/include/lldb/Interpreter/ScriptInterpreterPython.h:20,
                 from
../tools/lldb/include/lldb/DataFormatters/TypeSummary.h:27,
                 from
../tools/lldb/include/lldb/DataFormatters/FormattersContainer.h:30,
                 from
../tools/lldb/include/lldb/DataFormatters/FormatManager.h:23,
                 from ../tools/lldb/include/lldb/Core/Debugger.h:27,
                 from ../tools/lldb/source/API/SBBreakpointLocation.cpp:20:
/usr/include/python2.7/pyconfig.h:1183:0: warning: "_XOPEN_SOURCE" redefined
[enabled by default]
 #define _XOPEN_SOURCE 600
 ^
In file included from
/usr/local/gcc/gcc-4.8.2/include/c++/4.8.2/x86_64-unknown-linux-gnu/bits/os_defines.h:39:0,
                 from
/usr/local/gcc/gcc-4.8.2/include/c++/4.8.2/x86_64-unknown-linux-gnu/bits/c++config.h:426,
                 from /usr/local/gcc/gcc-4.8.2/include/c++/4.8.2/utility:68,
                 from /usr/local/gcc/gcc-4.8.2/include/c++/4.8.2/algorithm:60,
                 from ../tools/lldb/include/lldb/Utility/SharingPtr.h:13,
                 from ../tools/lldb/include/lldb/lldb-forward.h:15,
                 from ../tools/lldb/include/lldb/lldb-types.h:14,
                 from ../tools/lldb/include/lldb/lldb-defines.h:13,
                 from ../tools/lldb/include/lldb/API/SBDefines.h:18,
                 from ../tools/lldb/include/lldb/API/SBBreakpointLocation.h:13,
                 from ../tools/lldb/source/API/SBBreakpointLocation.cpp:10:
/usr/include/features.h:166:0: note: this is the location of the previous
definition
 # define _XOPEN_SOURCE 700
 ^
cc1plus: warning: unrecognized command line option "-Wno-deprecated-register"
[enabled by default]
[353/829] Building CXX object
tools/lldb/source/API/CMakeFiles/lldbAPI.dir/SBTarget.cpp.o
../tools/lldb/source/API/SBTarget.cpp: In member function 'lldb::SBError
lldb::SBTarget::SetSectionLoadAddress(lldb::SBSection, lldb::addr_t)':
../tools/lldb/source/API/SBTarget.cpp:2427:30: warning: variable 'stop_id' set
but not used [-Wunused-but-set-variable]
                     uint32_t stop_id = 0;
                              ^
../tools/lldb/source/API/SBTarget.cpp: In member function 'lldb::SBError
lldb::SBTarget::ClearSectionLoadAddress(lldb::SBSection)':
../tools/lldb/source/API/SBTarget.cpp:2463:22: warning: variable 'stop_id' set
but not used [-Wunused-but-set-variable]
             uint32_t stop_id = 0;
                      ^
../tools/lldb/source/API/SBTarget.cpp: In member function 'lldb::SBError
lldb::SBTarget::ClearModuleLoadAddress(lldb::SBModule)':
../tools/lldb/source/API/SBTarget.cpp:2542:30: warning: variable 'stop_id' set
but not used [-Wunused-but-set-variable]
                     uint32_t stop_id = 0;
                              ^
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-deprecated-register"
[enabled by default]
[465/829] Building CXX object
tools/lldb/source/Core/CMakeFiles/lldbCore.dir/PluginManager.cpp.o
../tools/lldb/source/Core/PluginManager.cpp: In function
'lldb_private::FileSpec::EnumerateDirectoryResult LoadPluginCallback(void*,
lldb_private::FileSpec::FileType, const lldb_private::FileSpec&)':
../tools/lldb/source/Core/PluginManager.cpp:118:159: warning: ISO C++ forbids
casting between pointer-to-function and pointer-to-object [enabled by default]
                 plugin_info.plugin_init_callback =
(PluginInitCallback)Host::DynamicLibraryGetSymbol (plugin_info.plugin_handle,
"LLDBPluginInitialize", error);
                                                                               
                                                                              
^
../tools/lldb/source/Core/PluginManager.cpp:128:162: warning: ISO C++ forbids
casting between pointer-to-function and pointer-to-object [enabled by default]
                     plugin_info.plugin_term_callback =
(PluginTermCallback)Host::DynamicLibraryGetSymbol (plugin_info.plugin_handle,
"LLDBPluginTerminate", error);
                                                                               
                                                                               
  ^
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-deprecated-register"
[enabled by default]</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>