This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/58305] Deprecation warning for class not raised when not assigning to a variable
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 03 Sep 2013 19:46:46 +0000
- Subject: [Bug c++/58305] Deprecation warning for class not raised when not assigning to a variable
- Auto-submitted: auto-generated
- References: <bug-58305-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58305
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEW
Assignee|paolo.carlini at oracle dot com |unassigned at gcc dot gnu.org
--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Unfortunately not trivial to do, because, per the general rules about
deprecated types, given:
typedef ToBeDeprecated NotToBeDeprecated;
we do *not* warn to warn for either:
NotToBeDeprecated();
NotToBeDeprecated y;
Anyway, not a regression, icc behaves like gcc, etc: the issue has to wait a
bit.