diff options
author | Yves Orton <demerphq@gmail.com> | 2023-02-25 14:37:21 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-02-26 00:31:32 +0800 |
commit | c86200b4e6d2238a0e4a7026f42957107df1dd4e (patch) | |
tree | 0d59914eb6b363287673ac5d191b92530bb01e7c /dist | |
parent | ffdab987e62bc08e62076e591654d5d51aa01c87 (diff) | |
download | perl-c86200b4e6d2238a0e4a7026f42957107df1dd4e.tar.gz |
dist/Storable - fix build warning from ppport.h inclusion
Silence warning about PL_parser. As far as I can tell we do not use it.
In file included from ../../perl.h:28,
from Storable.xs:16:
ppport.h:11564:26: warning: ‘DPPP_dummy_PL_parser’ defined but not used [-Wunused-variable]
11564 | # define DPPP_NAMESPACE DPPP_
| ^~~~~
../../config.h:1385:27: note: in definition of macro ‘PeRl_CaTiFy’
1385 | #define PeRl_CaTiFy(a, b) a ## b
| ^
ppport.h:11567:24: note: in expansion of macro ‘CAT2’
11567 | #define DPPP_CAT2(x,y) CAT2(x,y)
| ^~~~
ppport.h:11568:21: note: in expansion of macro ‘DPPP_CAT2’
11568 | #define DPPP_(name) DPPP_CAT2(DPPP_NAMESPACE, name)
| ^~~~~~~~~
ppport.h:11568:31: note: in expansion of macro ‘DPPP_NAMESPACE’
11568 | #define DPPP_(name) DPPP_CAT2(DPPP_NAMESPACE, name)
| ^~~~~~~~~~~~~~
ppport.h:12222:18: note: in expansion of macro ‘DPPP_’
12222 | static yy_parser DPPP_(dummy_PL_parser);
| ^~~~~
Diffstat (limited to 'dist')
-rw-r--r-- | dist/Storable/Storable.pm | 2 | ||||
-rw-r--r-- | dist/Storable/Storable.xs | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/dist/Storable/Storable.pm b/dist/Storable/Storable.pm index 2a9612de4d..32fd77290e 100644 --- a/dist/Storable/Storable.pm +++ b/dist/Storable/Storable.pm @@ -28,7 +28,7 @@ our @EXPORT_OK = qw( our ($canonical, $forgive_me); BEGIN { - our $VERSION = '3.30'; + our $VERSION = '3.31'; } our $recursion_limit; diff --git a/dist/Storable/Storable.xs b/dist/Storable/Storable.xs index 803a1bed4c..a558dd7893 100644 --- a/dist/Storable/Storable.xs +++ b/dist/Storable/Storable.xs @@ -16,7 +16,6 @@ #include <perl.h> #include <XSUB.h> -#define NEED_PL_parser #define NEED_sv_2pv_flags #define NEED_load_module #define NEED_vload_module |