Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile warning on Perl 5.12 #101

Open
pali opened this issue Jun 14, 2019 · 1 comment
Open

Compile warning on Perl 5.12 #101

pali opened this issue Jun 14, 2019 · 1 comment

Comments

@pali
Copy link
Contributor

pali commented Jun 14, 2019

https://travis-ci.org/Dual-Life/Devel-PPPort/jobs/544798867

ppport.h: In function ‘DPPP_my_mess_sv’:
ppport.h:5308:20: warning: zero-length gnu_printf format string [-Wformat-zero-length]
         ret = mess("");
                    ^
In file included from /home/travis/perl5/perlbrew/perls/5.12/lib/5.12.5/x86_64-linux/CORE/perl.h:3418:0,
                 from RealPPPort.xs:31:
ppport.h:5314:32: warning: zero-length gnu_printf format string [-Wformat-zero-length]
         sv_catsv(basemsg, mess(""));
                                ^
/home/travis/perl5/perlbrew/perls/5.12/lib/5.12.5/x86_64-linux/CORE/sv.h:1766:48: note: in definition of macro ‘sv_catsv’
 #define sv_catsv(dsv, ssv) sv_catsv_flags(dsv, ssv, SV_GMAGIC)
                                                ^
In file included from RealPPPort.xs:142:0:
ppport.h:5318:16: warning: zero-length gnu_printf format string [-Wformat-zero-length]
     ret = mess("");
                ^
@khwilliamson
Copy link
Member

Does anyone have suggestions for fixing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants