2025-07-18 21:06 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003304Spring engineGeneralpublic2012-10-16 20:42
Reporterabma 
Assigned Toabma 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version91.0.1+git 
Target VersionFixed in Version 
Summary0003304: compile warnings: "deleting object of polymorphic class type... which has non-virtual destructor" with gcc 4.7
Descriptionwarning: deleting object of polymorphic class type ‘CAirBaseHandler’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
Steps To Reproducesee validation-slave
Additional Informationoutput of
make -j4 >/dev/null

http://paste.springfiles.com/view/raw/922badfe
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0009258

Kloot (developer)

Odd, none of the classes it complains about are actually polymorphic. The only thing they have in common is that all of them derive from boost::noncopyable...

~0009261

abma (administrator)

Last edited: 2012-10-16 02:43

View 3 revisions

only common thing i see is creg, as it seems to add/change/...? some virtual functions?

~0009263

Kloot (developer)

That's probably it, see etherpad. :)

~0009264

abma (administrator)

for the docs:

replace CR_DECLARE by CR_DECLARE_STRUCT in all classes which generate this warning (see comments in creg.h about the difference)

~0009265

abma (administrator)

if nobody already did it, i'll fix that

~0009267

abma (administrator)

https://github.com/spring/spring/commit/a9f97665f79a5046dbd0eccfccdac4a6cde6c6a5
+Notes

-Issue History
Date Modified Username Field Change
2012-10-15 23:51 abma New Issue
2012-10-16 01:19 Kloot Note Added: 0009258
2012-10-16 02:43 abma Note Added: 0009261
2012-10-16 02:43 abma Note Edited: 0009261 View Revisions
2012-10-16 02:43 abma Note Edited: 0009261 View Revisions
2012-10-16 15:04 Kloot Note Added: 0009263
2012-10-16 17:38 abma Note Added: 0009264
2012-10-16 17:39 abma Assigned To => abma
2012-10-16 17:39 abma Status new => assigned
2012-10-16 17:39 abma Note Added: 0009265
2012-10-16 20:42 abma Note Added: 0009267
2012-10-16 20:42 abma Status assigned => resolved
2012-10-16 20:42 abma Resolution open => fixed
+Issue History