mirror of
https://github.com/openssl/openssl.git
synced 2025-03-31 20:10:45 +08:00
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)
This commit is contained in:
parent
2660b7cfba
commit
58ad786aa7
@ -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:`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user