Unsolved warning C4316: object allocated on the heap may not be aligned 16
-
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.
-
@CroCo ,
Can you show the code sample?
-
Hi
Actually it has nothing to do with Qt, its visual studio compiler warning.
https://stackoverflow.com/questions/20104815/warning-c4316-object-allocated-on-the-heap-may-not-be-aligned-16