This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32984] add checking for array new & delete
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Aug 2007 16:03:36 -0000
- Subject: [Bug c++/32984] add checking for array new & delete
- References: <bug-32984-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from dcb314 at hotmail dot com 2007-08-09 16:03 -------
(In reply to comment #8)
> I suggest taking a technique from the STL and using an auto_array class
In practice, I find both STL and Boost are rarely used.
Such advanced tools are fine for experienced C++ programmers.
For ex-Fortran programmers, new to C++, making their first steps in
C++ manual memory management, the news that the C++ compiler will silently
eat certainly wrong code is worrying.
Hence my bug report. Some newbie C++ programmers need more hand-holding
than traditional C++ compilers provide.
And as C++ becomes more and more mainstream, this will be more and more
true.
The bug report remains at resolved wontfix.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32984