<html>
    <head>
      <base href="https://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 --- - undefined reference to boost::gregorian::greg_month::get_month_map_ptr()"
   href="https://llvm.org/bugs/show_bug.cgi?id=26401">26401</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>undefined reference to boost::gregorian::greg_month::get_month_map_ptr()
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </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>C++
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>565434471@qq.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=15769" name="attach_15769" title="compiler errors">attachment 15769</a> <a href="attachment.cgi?id=15769&action=edit" title="compiler errors">[details]</a></span>
compiler errors

clang++ -std=c++11 -I /home/liukai/local/include/boost SceneServer.cpp -o
SceneServer -L/home/liukai/local/lib -lboost_date_time always was failure.

SceneServer/SceneServer.cpp.1.o: In function `unsigned short
boost::date_time::month_str_to_ushort<boost::gregorian::greg_month>(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
/home/liukai/local/include/boost/date_time/date_parsing.hpp:67: undefined
reference to `boost::gregorian::greg_month::get_month_map_ptr()'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

But I changed 'clang++' to 'gcc' that displayed successfully.

Who can tell me why?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>