From: Richard Levitte Date: Mon, 17 May 2021 12:44:01 +0000 (+0200) Subject: Turn off VMS C's info about unsupported pragmas X-Git-Tag: openssl-3.0.0-alpha17~52 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=58ad786aa7b5c19021686c74e02ead3968050da6;p=thirdparty%2Fopenssl.git Turn off VMS C's info about unsupported pragmas VMS C can be notoriously informative about certain things, such as unsupported pragmas. The case here is that it doesn't support "#pragma once", and since we use those quite a lot, that's a lot of repeated information. We simply turn that warning off. Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/15317) --- diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 8427a561e36..41575fbaae6 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -134,7 +134,9 @@ sub vms_info { } unless (%$vms_info) { - $vms_info->{disable_warns} = [ ]; + $vms_info->{disable_warns} = [ + "CXXPRAGMANA", # Shut up about unknown / unsupported pragmas + ]; $vms_info->{pointer_size} = $pointer_size_str; if ($pointer_size_str eq "64") { `PIPE CC /NOCROSS_REFERENCE /NOLIST /NOOBJECT /WARNINGS = DISABLE = ( MAYLOSEDATA3, EMPTYFILE ) NL: 2> NL:`;