MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0030238Open CASCADE[OCCT] OCCT:Configurationpublic2018-10-14 13:052018-10-14 13:12
Reporterkgv 
Assigned Tokgv 
PrioritynormalSeverityminor 
StatusnewResolutionopen 
PlatformWindowsOSVC++ 2015OS Version64 bit
Product Version[OCCT] 7.3.0 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0030238: Configuration - NCollection_Array1<OSD_Timer> crashes on destruction when using msvc
DescriptionThe simple code snippet does not work as expected when compiled using msvc:
  NCollection_Array1<OSD_Timer> aTimers (1, 2);


See also the following bug report:
https://developercommunity.visualstudio.com/content/problem/346875/delete-calls-scalar-deleting-destructor-instead-of.html [^]
TagsNo tags attached.
Test case number
Attached Fileszip file icon vc14_delete_crash.zip (4,612 bytes) 2018-10-14 13:05

- Relationships

-  Notes
(0079929)
kgv (developer)
2018-10-14 13:12

Following MS expert comment, to workaround this issue the implicitly generated desctrutor of sub-class (~OSD_Timer) should be explicitly exported from DLL.

- Issue History
Date Modified Username Field Change
2018-10-14 13:05 kgv New Issue
2018-10-14 13:05 kgv Assigned To => kgv
2018-10-14 13:05 kgv File Added: vc14_delete_crash.zip
2018-10-14 13:12 kgv Note Added: 0079929


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker