diff options
author | Richard Levitte <levitte@openssl.org> | 2016-04-01 12:36:51 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-04-01 16:23:35 +0200 |
commit | 368058d0a79d2e3b853746b09ca86679a86ac233 (patch) | |
tree | 7f4b2dd3b31f56b99c113d5a94fff46d311c8ab6 /Configurations | |
parent | 5902821d81ced5e7c5db972e4b569848500940f7 (diff) | |
download | openssl-368058d0a79d2e3b853746b09ca86679a86ac233.zip openssl-368058d0a79d2e3b853746b09ca86679a86ac233.tar.gz openssl-368058d0a79d2e3b853746b09ca86679a86ac233.tar.bz2 |
Force argv to be an array of long pointers on VMS
Reverts commit 087ca80ad83071dde0bb6bc1c28c743caa00eaf8
Instead of battling the odd format of argv given to main() in default
P64 mode, tell the compiler to make it an array of 64-bit pointers
when compiling in P64 mode.
A note is added in NOTES.VMS regarding minimum DEC C version.
Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'Configurations')
-rw-r--r-- | Configurations/10-main.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 11ff13e..1b32b10 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -1763,7 +1763,7 @@ sub vms_info { "vms-alpha-p64" => { inherit_from => [ "vms-alpha" ], cflags => - add("/POINTER_SIZE=64", + add("/POINTER_SIZE=64=ARGV", sub { my @warnings = @{vms_info()->{disable_warns_p64}}; @warnings @@ -1796,7 +1796,7 @@ sub vms_info { "vms-ia64-p64" => { inherit_from => [ "vms-ia64" ], cflags => - add("/POINTER_SIZE=64", + add("/POINTER_SIZE=64=ARGV", sub { my @warnings = @{vms_info()->{disable_warns_p64}}; @warnings |