public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug libstdc++/55847] New: mistake bad_weak_ptr::what() message @ 2013-01-02 12:21 faithandbrave at gmail dot com 2013-01-03 18:44 ` [Bug libstdc++/55847] " redi at gcc dot gnu.org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: faithandbrave at gmail dot com @ 2013-01-02 12:21 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55847 Bug #: 55847 Summary: mistake bad_weak_ptr::what() message Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: faithandbrave@gmail.com C++11 Standard says follow: 20.7.2.1 p2 bad_weak_ptr() noexcept; Postconditions: what() returns "bad_weak_ptr" But, libstdc++'s bad_weak_ptr::what() return "std::bad_weak_ptr". "std::" is unnecessary. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libstdc++/55847] mistake bad_weak_ptr::what() message 2013-01-02 12:21 [Bug libstdc++/55847] New: mistake bad_weak_ptr::what() message faithandbrave at gmail dot com @ 2013-01-03 18:44 ` redi at gcc dot gnu.org 2013-01-07 0:51 ` redi at gcc dot gnu.org 2013-01-07 0:53 ` redi at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: redi at gcc dot gnu.org @ 2013-01-03 18:44 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55847 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2013-01-03 AssignedTo|unassigned at gcc dot |redi at gcc dot gnu.org |gnu.org | Target Milestone|--- |4.8.0 Ever Confirmed|0 |1 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libstdc++/55847] mistake bad_weak_ptr::what() message 2013-01-02 12:21 [Bug libstdc++/55847] New: mistake bad_weak_ptr::what() message faithandbrave at gmail dot com 2013-01-03 18:44 ` [Bug libstdc++/55847] " redi at gcc dot gnu.org @ 2013-01-07 0:51 ` redi at gcc dot gnu.org 2013-01-07 0:53 ` redi at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: redi at gcc dot gnu.org @ 2013-01-07 0:51 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55847 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-01-07 00:50:23 UTC --- Author: redi Date: Mon Jan 7 00:50:16 2013 New Revision: 194958 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194958 Log: PR libstdc++/55847 * src/c++11/shared_ptr.cc (bad_weak_ptr::what()): Correct string. * testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Verify string. PR libstdc++/55728 * include/std/functional (bad_function_call::what()): Declare. * src/c++11/functional.cc (bad_function_call::what()): Define. * config/abi/pre/gnu.ver (bad_function_call::what()): Export. * testsuite/20_util/bad_function_call/what.cc: New. Added: trunk/libstdc++-v3/testsuite/20_util/bad_function_call/what.cc - copied, changed from r194957, trunk/libstdc++-v3/testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/config/abi/pre/gnu.ver trunk/libstdc++-v3/include/std/functional trunk/libstdc++-v3/src/c++11/functional.cc trunk/libstdc++-v3/src/c++11/shared_ptr.cc trunk/libstdc++-v3/testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libstdc++/55847] mistake bad_weak_ptr::what() message 2013-01-02 12:21 [Bug libstdc++/55847] New: mistake bad_weak_ptr::what() message faithandbrave at gmail dot com 2013-01-03 18:44 ` [Bug libstdc++/55847] " redi at gcc dot gnu.org 2013-01-07 0:51 ` redi at gcc dot gnu.org @ 2013-01-07 0:53 ` redi at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: redi at gcc dot gnu.org @ 2013-01-07 0:53 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55847 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-01-07 00:53:33 UTC --- fixed for 4.8 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-01-07 0:53 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-01-02 12:21 [Bug libstdc++/55847] New: mistake bad_weak_ptr::what() message faithandbrave at gmail dot com 2013-01-03 18:44 ` [Bug libstdc++/55847] " redi at gcc dot gnu.org 2013-01-07 0:51 ` redi at gcc dot gnu.org 2013-01-07 0:53 ` redi at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).