Some SDK headers are not standard compliant, so MSVC will complain when such headers are in use with "/permissive-" compile option. Use "/Zc:twoPhase-" to work around the issue as documented in https://docs.microsoft.com/en-us/cpp/build/reference/permissive-standards-conformance?view=msvc-160#windows-header-issues Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1174>