https://llvm.org/bugs/show_bug.cgi?id=26401
Bug ID: 26401 Summary: undefined reference to boost::gregorian::greg_month::get_month_map_ptr() Product: clang Version: unspecified Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: C++ Assignee: unassignedclangb...@nondot.org Reporter: 565434...@qq.com CC: dgre...@apple.com, llvm-bugs@lists.llvm.org Classification: Unclassified Created attachment 15769 --> https://llvm.org/bugs/attachment.cgi?id=15769&action=edit 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? -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs