Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17825

warning C4316: object allocated on the heap may not be aligned 16

$
0
0
When I run my x86 builds, I get some "warning C4316: object allocated on the heap may not be aligned 16"? How is this possible given that I use alignas and /std::C++latest in MVC++ (which should at least be C++17)? Edit: Hmm apparantly I like to walk on the wild side https://docs.microsoft.com/en-us/cpp/visual-cpp-language-conformance P0035R4 Over-aligned dynamic memory allocation VS 2017 15.5

Viewing all articles
Browse latest Browse all 17825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>