This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14768] Bad diagnostics for call to dtor without object.
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Mar 2004 01:06:13 -0000
- Subject: [Bug c++/14768] Bad diagnostics for call to dtor without object.
- References: <20040329103344.14768.dannysmith@users.sourceforge.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2004-03-30 01:06 -------
To clarify, it's legal code because of DR 272 which was approved with WP
status. This makes it illegale in pure C++-98 but legal under C++-0x. Right now
GCC is striving for C++-0x compatibility, but we will eventually have two
different dialects (-std=c++0x or something).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14768