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++/58114] allow turning the warning about deleting a pointer of incomplete type into an error


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

Chris Wilson <chris+gccbugzilla at qwirx dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chris+gccbugzilla at qwirx dot com

--- Comment #6 from Chris Wilson <chris+gccbugzilla at qwirx dot com> ---
I disagree with the assessment of this bug as a duplicate of bug 43452. That
bug was resolved by the creation of the -Wdelete-incomplete option, upon which
this bug depends. But this one requests the ability to make this warning into a
fatal error, i.e. the creation of a -Werror=delete-incomplete option, which
does not exist yet.

Please could you consider reopening this bug and marking it as not a duplicate?

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