>Submitter-Id: net >Originator: Victor Hsieh >Organization: >Confidential: no >Synopsis: linking error of basic_string<unsigned char> >Severity: serious >Priority: medium >Category: c++ >Class: rejects-legal >Release: 3.3.6 (Debian 1:3.3.6-6) (Debian testing/unstable) >Environment: System: Linux victor 2.6.11.10 #1 Thu May 19 21:13:08 CST 2005 i686 GNU/Linux Architecture: i686
host: i486-pc-linux-gnu build: i486-pc-linux-gnu target: i486-pc-linux-gnu configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux >Description: There's a linking error when I use std::basic_string<unsigned char> with g++ 3.3, but it works perfectly in g++ 3.4 and 4.0 . I've tried it on both my Debian box with g++-3.3 and another with 5.3-RELEASE-p5 and g++32. Both of the cases cause the same error message (http://victor.csie.org/tmp/error.txt). Thanks. The following is my code. #include <string> int main(void) { std::basic_string<unsigned char> ustr; ustr.append(ustr); return 0; } >How-To-Repeat: Just compile it with g++ 3.3 >Fix: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]