Branch: refs/heads/yves/fix_ppport_warning_storable
  Home:   https://github.com/Perl/perl5
  Commit: 772cd51560f10e7b7ba31b62fccab0aa0a060b3d
      
https://github.com/Perl/perl5/commit/772cd51560f10e7b7ba31b62fccab0aa0a060b3d
  Author: Yves Orton <[email protected]>
  Date:   2023-02-25 (Sat, 25 Feb 2023)

  Changed paths:
    M dist/Storable/Storable.pm
    M dist/Storable/Storable.xs

  Log Message:
  -----------
  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);
          |                  ^~~~~


Reply via email to