[EMAIL PROTECTED] ~]$ g++-3.0 -c test.cc test.cc: In function `string do_foo(const string&)': test.cc:6: warning: the named return value extension is deprecated, please see the documentation for details test.cc: In member function `string foo::do_foo2(const string&)': test.cc:21: warning: the named return value extension is deprecated, please see the documentation for details
[EMAIL PROTECTED] ~]$ g++-3.0 -DBUG -c test.cc test.cc: In function `string do_foo(const string&)': test.cc:6: warning: the named return value extension is deprecated, please see the documentation for details test.cc: At global scope: test.cc:15: function body for constructor missing test.cc:15: parse error before `{' token test.cc: In member function `string foo::do_foo(const string&)': test.cc:15: warning: the named return value extension is deprecated, please see the documentation for details test.cc: At global scope: test.cc:19: parse error before `}' token test.cc: In member function `string foo::do_foo2(const string&)': test.cc:21: warning: the named return value extension is deprecated, please see the documentation for details I'm no C++ expert, but, if this is going to be deprecated, can this bug be closed in the long run? -- Colin Watson [EMAIL PROTECTED]