diff options
author | Richard Levitte <levitte@openssl.org> | 2021-05-17 14:44:01 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2021-05-19 12:31:16 +0200 |
commit | 58ad786aa7b5c19021686c74e02ead3968050da6 (patch) | |
tree | 776f19c9f82d76e9760066e79d0e37f7d34a8ac3 /Configurations/10-main.conf | |
parent | 2660b7cfbad710dcd9df26e68c18d6c7d6ebaca0 (diff) |
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 <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15317)
Diffstat (limited to 'Configurations/10-main.conf')
-rw-r--r-- | Configurations/10-main.conf | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 8427a561e3..41575fbaae 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:`; |