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++/32984] add checking for array new & delete



------- 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


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