>Submitter-Id: net >Originator: Franck Branjonneau >Organization: >Confidential: no >Synopsis: locale dependant ICE >Severity: serious >Priority: >Category: c++ >Class: ice-on-illegal-code >Release: 3.1.1 20020606 (Debian prerelease) (Debian testing/unstable) >Environment: System: Linux alpha.tchume.net 2.2.20 #1 Sun Mar 10 20:27:27 CET 2002 i586 unknown Architecture: i586
host: i386-pc-linux-gnu build: i386-pc-linux-gnu target: i386-pc-linux-gnu configured with: /var/tmp/gcc-3.1-3.1.1ds1/src/configure -v --enable-languages=c,c++,java,f77,proto,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/g++-v3-3.1 --enable-shared --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --enable-clocale=gnu --enable-threads=posix --enable-java-gc=boehm --enable-objc-gc i386-linux >Description: When compiling the following, illegal, code: #include <string> #include <sstream> using namespace std; int main() { wstring s; stringstream in("Anything"); in >> s; } - with my default locale, fr_FR.ISO8859-1, GCC says: tmp.cc: Dans function « int main() »: tmp.cc:511: no match pour l'opérateur « erreur interne de compilateur: erreur pour rapporter une routine ré-entée SVP soumettre un rapport complet d'anomalies, avec le source pré-traité si cela est approprié. Consulter <URL:http://www.gnu.org/software/gcc/bugs.html> pour les instructions. - with the system default locale, C, it says: tmp.cc: In function `int main()': tmp.cc:511: no match for `std::stringstream& >> std::wstring&' operator /usr/include/g++-v3-3.1/bits/istream.tcc:82: candidates are: [...] >How-To-Repeat: >Fix: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]