Actions
Feature #734
openEmit warnings when trying to put large DCMRT objects on the stack
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-03-23
Due date:
% Done:
0%
Estimated time:
Module:
dcmrt
Operating System:
Compiler:
Description
Depending on the used compiler/settings, putting some of the larger DCMRT object on the stack can lead to stack overflows/corruption. Possible solution:
- Emit a warning in their constructor about this using "#warning" etc.
- Provide an createX() method for each class that puts the object on the heap (e.g. returning an OFunique_ptr<X>), without emitting the warning.
No data to display
Actions