c++ - Compiler bug? or library bug?
- Steve (36/36) Dec 18 2002 The attached codes cause the following error message.
- Richard (4/5) Dec 19 2002 Not a compiler problem. STLport Configuration issue. I will talk to Chri...
- Richard (6/11) Dec 19 2002 I think Christof may be away or something, so you can try this for the t...
- Christof Meerwald (7/8) Dec 19 2002 Not really away, but I am afraid I won't have much time until at least
The attached codes cause the following error message. test.obj(test) Error 42: Symbol Undefined ?_M_increment ?$_Rb_global std _N std SAPAU_Rb_tree _node_base 2 PAU32 Z (_Rb_tree_node_base::d *cdecl std::_N::d::_Rb_global<>::_M _increment(_N::d *)) test.obj(test) Error 42: Symbol Undefined ?_M_decrement ?$_Rb_global std _N std SAPAU_Rb_tree _node_base 2 PAU32 Z (_Rb_tree_node_base::d *cdecl std::_N::d::_Rb_global<>::_M _decrement(_N::d *)) test.obj(test) Error 42: Symbol Undefined ?_Rebalance ?$_Rb_global std _N std SAXPAU_Rb_tree_ node_base 2 AAPAU32 Z (void cdecl std::_N::d::_Rb_global<>::_Rebalance(_Rb_tree _node_base::d *,_N::d *&)) #include <iostream> #include <map> #include <string> int main( void ) { std::map<std::string, int> directory; directory["a"] = 123; directory["b"] = 456; directory["c"] = 789; directory["d"] = 987; directory["e"] = 654; directory["f"] = 321; std::string s; while( std::cin >> s ) { if ( directory.find(s) != directory.end() ) std::cout << "directory[\"" << s << "\"] == " << directory[s] << "\n"; else std::cout << "Sory, no listing for " << s << "\n"; } // while return 0; }
Dec 18 2002
In article <atqin0$cu$1 digitaldaemon.com>, Steve says...The attached codes cause the following error message.Not a compiler problem. STLport Configuration issue. I will talk to Christof about it, and one of us will post the fix here. RIchard
Dec 19 2002
In article <atsfme$1dbf$1 digitaldaemon.com>, Richard says...In article <atqin0$cu$1 digitaldaemon.com>, Steve says...I think Christof may be away or something, so you can try this for the time being, but since he has not given it a look through, your mileage may vary. Your example links with no undefined symbols if compiled with: -D_STLP_EXPOSE_GLOBALS_IMPLEMENTATION RichardThe attached codes cause the following error message.Not a compiler problem. STLport Configuration issue. I will talk to Christof about it, and one of us will post the fix here.
Dec 19 2002
On 19 Dez 2002, Richard wrote:I think Christof may be away or something, so you can try this for theNot really away, but I am afraid I won't have much time until at least Saturday... bye, Christof -- http://cmeerw.org JID: cmeerw jabber.at mailto cmeerw at web.de
Dec 19 2002