|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++.beta - DMC 8.49.1 lib / Link faliures with Boost.test
Walter, One of the boost.test problems is with linking a lib. The creation of the lib triggers this warning: Warning: Public '?char_type ?1??print_escaped unit_test boost YAXAAV?$basic_ostream std DV?$char_traits std D 1 std V?$basic_ cstring unit_test boost _OD 23 Z23 4V?$fixed_mapping unit_test boost DPBDU?$le s std D std 23 A' already in library, redefinition ignored. and the link error using the lib this: Error 1: Previous Definition Different : ?char_type ?1??print_escaped unit_test boost YAXAAV?$basic_ostream std DV?$char_ raits std D 1 std (void cdecl boost::unit_test::?1??print_escaped::char_type(basic_ostream<>::d::DV?$char_traits::std::D::?1??prin t_escaped &)) unmangle.exe produces the following for the two mentioned above: void cdecl boost::unit_test::?1??print_escaped::char_type(basic_ostream<>::d::DV?$char_traits::std:: ::?1??print_escaped &) void cdecl boost::unit_test::?1??print_escaped::char_type(basic_ostream<>::d::DV?$char_traits::std:: ::?1??print_escaped &) (void cdecl boost::unit_test::?1??print_escaped::char_type(basic_ostream<>::d::DV?$char_traits::std:: ::?1??print_escaped &)) what is ?1?? and ::d::DV?& in the unmangled names? Do you have any directions in solving these kind of problems? Arjan Jul 04 2006
Arjan wrote:Walter, One of the boost.test problems is with linking a lib. The creation of the lib triggers this warning: Warning: Public '?char_type ?1??print_escaped unit_test boost YAXAAV?$basic_ostream std DV?$char_traits std D 1 std V?$basic_ cstring unit_test boost _OD 23 Z23 4V?$fixed_mapping unit_test boost DPBDU?$le s std D std 23 A' already in library, redefinition ignored. and the link error using the lib this: Error 1: Previous Definition Different : ?char_type ?1??print_escaped unit_test boost YAXAAV?$basic_ostream std DV?$char_ raits std D 1 std (void cdecl boost::unit_test::?1??print_escaped::char_type(basic_ostream<>::d::DV?$char_trai s::std::D::?1??prin t_escaped &)) unmangle.exe produces the following for the two mentioned above: void cdecl boost::unit_test::?1??print_escaped::char_type(basic_ostream<>::d::DV?$char_traits::std:: ::?1??print_escaped &) void cdecl boost::unit_test::?1??print_escaped::char_type(basic_ostream<>::d::DV?$char_traits::std:: ::?1??print_escaped &) (void cdecl boost::unit_test::?1??print_escaped::char_type(basic_ostream<>::d::DV?$char_traits::std:: ::?1??print_escaped &)) what is ?1?? and ::d::DV?& in the unmangled names? Do you have any directions in solving these kind of problems? Arjan Jul 04 2006
Walter Bright wrote:Arjan wrote:Walter, One of the boost.test problems is with linking a lib. The creation of the lib triggers this warning: Warning: Public '?char_type ?1??print_escaped unit_test boost YAXAAV?$basic_ostream std DV?$char_traits std D 1 std V?$basic_ cstring unit_test boost _OD 23 Z23 4V?$fixed_mapping unit_test boost DPBDU?$le s std D std 23 A' already in library, redefinition ignored. and the link error using the lib this: Error 1: Previous Definition Different : ?char_type ?1??print_escaped unit_test boost YAXAAV?$basic_ostream std DV?$char_ raits std D 1 std (void cdecl boost::unit_test::?1??print_escaped::char_type(basic_ostream<>::d::DV?$char_trai s::std::D::?1??prin t_escaped &)) unmangle.exe produces the following for the two mentioned above: void cdecl boost::unit_test::?1??print_escaped::char_type(basic_ostream<>::d::DV?$char_traits::std:: ::?1??print_escaped &) void cdecl boost::unit_test::?1??print_escaped::char_type(basic_ostream<>::d::DV?$char_traits::std:: ::?1??print_escaped &) (void cdecl boost::unit_test::?1??print_escaped::char_type(basic_ostream<>::d::DV?$char_traits::std:: ::?1??print_escaped &)) what is ?1?? and ::d::DV?& in the unmangled names? Do you have any directions in solving these kind of problems? Arjan Jul 04 2006
Arjan wrote:Walter Bright wrote:What it means is the same symbol is defined in two different object files, or twice in the same object module. Jul 04 2006
Walter Bright wrote:Arjan wrote:Walter Bright wrote:What it means is the same symbol is defined in two different object files, or twice in the same object module. Jul 04 2006
|