[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#43170: Rechecked with g++-3.0 3.0-0pre010403



[cjw44@riva ~]$ 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

[cjw44@riva ~]$ 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                                     [cjw44@flatline.org.uk]



Reply to: