aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2021-02-10 19:12:40 +0100
committerAndre Weissflog <floooh@gmail.com>2021-02-10 19:12:40 +0100
commit492146ea6649ec050c7f635ebc006290d03de283 (patch)
tree5e5f0a01f2a399cae7f97bcf38a7180e46056ffa /util
parentd2826d75c0931bc48a4b474f6db1ae301552a423 (diff)
suppress some VS2015 warnings
Diffstat (limited to 'util')
-rw-r--r--util/sokol_debugtext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/sokol_debugtext.h b/util/sokol_debugtext.h
index 236d4778..00223c6b 100644
--- a/util/sokol_debugtext.h
+++ b/util/sokol_debugtext.h
@@ -443,6 +443,7 @@ typedef struct sdtx_range {
// disabling this for every includer isn't great, but the warning is also quite pointless
#if defined(_MSC_VER)
#pragma warning(disable:4221) /* /W4 only: nonstandard extension used: 'x': cannot be initialized using address of automatic variable 'y' */
+#pragma warning(disable:4204) /* VS2015: nonstandard extension used: non-constant aggregate initializer */
#endif
#if defined(__cplusplus)
#define SDTX_RANGE(x) sdtx_range{ &x, sizeof(x) }