diff options
author | Yves Orton <demerphq@gmail.com> | 2023-03-23 12:33:51 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-03-29 20:54:49 +0800 |
commit | a4b63cacf481771ef01a5bbd5fefc3a91d4bf6a7 (patch) | |
tree | 782600e1a287d922ab973a389dbc644af097f00e /intrpvar.h | |
parent | a63f267202cdf27888060487da29a5b383da82c6 (diff) | |
download | perl-a4b63cacf481771ef01a5bbd5fefc3a91d4bf6a7.tar.gz |
intrpvar - ignore deprecated warning on MSVC as well
Diffstat (limited to 'intrpvar.h')
-rw-r--r-- | intrpvar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intrpvar.h b/intrpvar.h index dff27ab15f..f08de2f0d0 100644 --- a/intrpvar.h +++ b/intrpvar.h @@ -931,6 +931,7 @@ PERLVARI(I, lockhook, share_proc_t, Perl_sv_nosharing) #pragma diag_suppress 3215 #endif GCC_DIAG_IGNORE(-Wdeprecated-declarations) +MSVC_DIAG_IGNORE(4996) #ifdef NO_MATHOMS # define PERL_UNLOCK_HOOK Perl_sv_nosharing @@ -940,6 +941,7 @@ GCC_DIAG_IGNORE(-Wdeprecated-declarations) #endif PERLVARI(I, unlockhook, share_proc_t, PERL_UNLOCK_HOOK) +MSVC_DIAG_RESTORE GCC_DIAG_RESTORE #if defined(__HP_cc) || defined(__HP_aCC) #pragma diag_default 3215 |