This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/58305] Deprecation warning for class not raised when not assigning to a variable


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]