Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
warning C4316: object allocated on the heap may not be aligned 16
CroCo last edited by
I'm trying to create an object on the heap inside a class. Qt throws this warning. What is this warning and what is the right approach to address this warning? I'm using Qt 5.9 with Windows 10 and visual studio 2015.
Vinod Kuntoji last edited by
Can you show the code sample?
Actually it has nothing to do with Qt, its visual studio compiler warning.