When using Visual Studio 2019 (16.1) with Cmake extensions and build a (x64-)clang-Debug or -Release configuration, i get massive warnings due to the #pragma pack
inside begin_code.h
.
Namely, the #pragma warning(disable: 4103)
on line 106 does not appear to do its job (probably due to this being run though clang-cl).
Im currently manually supressing it in this specific configuration by setting -Wno-pragma-pack
from cmake, but i suppose some people might run into this at some point, too.
I guess this probably is not a problem of SDL but of clang-cl missing compatibility with that specific #pragma
, but maybe im just misinterpreting something.
I have honestly no idea where to look for a solution, so any suggestions are appreciated.
~mkalte