[Bug c++/33477] New: New warning suggestion: virtual functions called from constructors/destructors
yuri at tsoft dot com
gcc-bugzilla@gcc.gnu.org
Tue Sep 18 18:11:00 GMT 2007
I would like to suggest that gcc issues a warning (with -Wall) when any virtual
functions are called from constructors and destructors of these objects.
During construtors and destructors derived objects aren't complete and almost
always virtual functions would be called on undefined derived classes.
--
Summary: New warning suggestion: virtual functions called from
constructors/destructors
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: yuri at tsoft dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33477
More information about the Gcc-bugs
mailing list