OK, thanks.
Jason
Hi,
On 09/09/2013 06:35 AM, Jason Merrill wrote:
On 09/05/2013 06:44 PM, Paolo Carlini wrote:
+ && warning (0, "possible problem detected in invocation of "
+ "delete [] operator:"))
The warning should probably be suppressible by some flag.
In fact clang has such a flag - I
On 09/05/2013 06:44 PM, Paolo Carlini wrote:
+ && warning (0, "possible problem detected in invocation of "
+ "delete [] operator:"))
The warning should probably be suppressible by some flag.
Jason
Hi,
this very old minor issue is about the kind of diagnostic we want to
produce for something like the existing g++.dg/init/delete1.C:
class C;
void foo(void *p) {
delete [] ((C*)p) ;
}
that is when the array delete is called for a pointer to incomplete
type. Currently we emit an hard