[Bug c++/29185] inconsistent warning: deleting array

sebor at roguewave dot com gcc-bugzilla@gcc.gnu.org
Tue Sep 26 21:43:00 GMT 2006



------- Comment #7 from sebor at roguewave dot com  2006-09-26 21:43 -------
You're right, those weren't the best examples, but I still think they
illustrate the point. The code in them is plain ill-formed even though
it never gets executed, because it just doesn't make sense. deleting
an array also doesn't make sense so it might as well be ill-formed.
I'll leave it to the committee to decide if that's a worthwhile change
to the language.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29185



More information about the Gcc-bugs mailing list