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++/36159] C++ compiler should issue a warning with missing new operator


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36159

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-10-10
     Ever confirmed|0                           |1

--- Comment #12 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed.  As noted in bug 67911, the solution proposed for the next version
of C++ is the following:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0035r0.html
Until it's accepted and implemented, issuing a warning would help users avoid
the trap.  I happen to be working in this area so I'll see if I can come up
with something.


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