diff options
author | Daniel Dragan <bulk88@hotmail.com> | 2014-12-31 15:58:07 -0500 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2015-02-04 22:15:55 -0500 |
commit | 3c81f0b3e2da864d10c7b9a137e68516f2c94ce4 (patch) | |
tree | a517207e0a9933fbe74794ba9ce9c3fd2a76d092 /numeric.c | |
parent | 4112ab0dbe2ae98361989f6ab858863697d6ceca (diff) | |
download | perl-3c81f0b3e2da864d10c7b9a137e68516f2c94ce4.tar.gz |
[PATCH] fix PL_nan_u from leaking in every translation object on Win32 VC
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1259,6 +1259,11 @@ Perl_my_atof(pTHX_ const char* s) return x; } + +#ifdef USING_MSVC6 +# pragma warning(push) +# pragma warning(disable:4756;disable:4056) +#endif static char* S_my_atof_infnan(pTHX_ const char* s, bool negative, const char* send, NV* value) { @@ -1330,6 +1335,9 @@ S_my_atof_infnan(pTHX_ const char* s, bool negative, const char* send, NV* value } return NULL; } +#ifdef USING_MSVC6 +# pragma warning(pop) +#endif char* Perl_my_atof2(pTHX_ const char* orig, NV* value) |