Hi,
This attempts to address two issues with clang-cl
builds:
-
Define
_CRT_[SECURE|NONSTDC]_NO_WARNINGS
inmsvc_recommended_pragmas.h
forclang-cl
, and force-include it inclang-cl
builds of GLib as well. (issue #2357 (closed)). -
Just use
_Static_assert()
for CLang builds, since it supported that for a long time. (issue #2338 (closed)).
@amezin, can you see whether things work better for you, since I am certainly no clang-cl
expert and I did the initial and experiemental clang-cl
support from a Visual Studio point-of-view.
With blessings, thank you!