summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2024-03-30 12:52:50 +0100
committerTomas Mraz <tomas@openssl.org>2024-04-04 18:16:05 +0200
commita19553cd872047289d6fc730a864bf9d984283ce (patch)
tree26d4da2acaeed0bcdf27042da853b47f7ffbbe72 /test
parent089271601a1d085f33ef7b7d8c3b6879045be370 (diff)
Diverse small VMS build fixups
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com> Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/24008) (cherry picked from commit 1a4b029af51ba6128a37959796381ca5b8b7ac00)
Diffstat (limited to 'test')
-rw-r--r--test/json_test.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/json_test.c b/test/json_test.c
index db3038d766..7b46b4f15e 100644
--- a/test/json_test.c
+++ b/test/json_test.c
@@ -144,6 +144,15 @@ typedef void (*fp_pz_type)(OSSL_JSON_ENC *, const void *, size_t);
return &script_info; \
}
+#ifdef OPENSSL_SYS_VMS
+/*
+ * The VMS C compiler recognises \u in strings, and emits a warning, which
+ * stops the build. Because we think we know what we're doing, we change that
+ * particular message to be merely informational.
+ */
+# pragma message informational UCNNOMAP
+#endif
+
#define END_SCRIPT_EXPECTING_S(s) END_SCRIPT_EXPECTING(s, SIZE_MAX)
#define END_SCRIPT_EXPECTING_Q(s) END_SCRIPT_EXPECTING(#s, sizeof(#s) - 1)