On Mon, Feb 03, 2003 at 14:28:29 +0100, Ivo Timmermans wrote: > Package: g++-3.2 > Version: 1:3.2.2-0pre8
I can reproduce your problem with that version, but with gcc version 3.3 20030129 (prerelease) (packaged as gcc-snapshot 20030129-1) I get the following much more acceptable result: internal-compiler-error.cpp: In function `int main()': internal-compiler-error.cpp:8: error: jump to case label internal-compiler-error.cpp:6: error: crosses initialization of `std::string blah' internal-compiler-error.cpp:8: warning: destructor needed for `std::string blah ' internal-compiler-error.cpp:8: warning: where case label appears here internal-compiler-error.cpp:8: warning: (enclose actions of previous case statements requiring destructors in their own scope.) Ray -- PATRIOTISM A great British writer once said that if he had to choose between betraying his country and betraying a friend he hoped he would have the decency to betray his country. - The Hipcrime Vocab by Chad C. Mulligan