<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 --- - Error compiling SBDebugger.cpp for lldb trunk"
   href="http://llvm.org/bugs/show_bug.cgi?id=21918">21918</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Error compiling SBDebugger.cpp for lldb trunk
          </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>hadsell@blueskystudios.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>We are trying to build lldb from the trunk.  We are using gcc 4.8.3 on CentOS
6.5.  This error stops the build:

llvm[2]: Compiling SBDebugger.cpp for Release+Asserts build
/usr/local/src/llvm-3.5.0.src/tools/lldb/source/API/SBDebugger.cpp: In function
‘llvm::sys::DynamicLibrary LoadPlugin(const DebuggerSP&, const
lldb_private::FileSpec&, lldb_private::Error&)’:
/usr/local/src/llvm-3.5.0.src/tools/lldb/source/API/SBDebugger.cpp:87:137:
warning: ISO C++ forbids casting between pointer-to-function and
pointer-to-object [-Wpedantic]
         LLDBCommandPluginInit init_func =
(LLDBCommandPluginInit)dynlib.getAddressOfSymbol("_ZN4lldb16PluginInitializeENS_10SBDebuggerE");
                                                                               
                                                         ^
In file included from
/usr/local/src/llvm-3.5.0.src/tools/lldb/source/API/SBDebugger.cpp:47:0:
/usr/local/src/llvm-3.5.0.src/include/llvm/Support/DynamicLibrary.h:46:14:
error: ‘llvm::sys::DynamicLibrary::DynamicLibrary(void*)’ is private
     explicit DynamicLibrary(void *data = &Invalid) : Data(data) {}
              ^
/usr/local/src/llvm-3.5.0.src/tools/lldb/source/API/SBDebugger.cpp:107:38:
error: within this context
     return llvm::sys::DynamicLibrary();
                                      ^</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>