From a19553cd872047289d6fc730a864bf9d984283ce Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 30 Mar 2024 12:52:50 +0100 Subject: Diverse small VMS build fixups Reviewed-by: Tom Cosgrove Reviewed-by: Neil Horman Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/24008) (cherry picked from commit 1a4b029af51ba6128a37959796381ca5b8b7ac00) --- test/json_test.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test') 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) -- cgit v1.2.3