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

Tons of warnings from RealPPPort.xs on Strawberry Perl v5.22.2.1-PDL #34

Open
ilyaza opened this issue May 17, 2016 · 1 comment
Open

Comments

@ilyaza
Copy link

ilyaza commented May 17, 2016

With the version of today (3.32) on CPAN:

"K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\bin\perl.exe" -MExtUtils::Command -e mv -- RealPPPort.xsc RealPPPort.c
gcc -c      -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2     -DVERSION=\"3.32\"    -DXS_VERSION=\"3.32\"  "-IK:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE"   RealPPPort.c 
In file included from K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/perl.h:5544:0,
                 from RealPPPort.xs:31:
RealPPPort.xs: In function 'XS_Devel__PPPort_other_variables':
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2269:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_DBsignal);
                 ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2270:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_DBsingle);
                 ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2271:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_DBsub);
                 ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2272:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_DBtrace);
                 ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2273:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_compiling);
                 ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2274:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_curcop);
                 ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2275:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_curstash);
                 ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2276:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_debstash);
                 ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2277:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_defgv);
                 ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2278:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_diehook);
                 ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2286:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_dowarn);
                 ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2287:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_errgv);
                 ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2288:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_laststatval);
                 ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2289:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_no_modify);
                 ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2290:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_perl_destruct_level);
                 ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2291:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_perldb);
                 ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2292:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_stack_base);
                 ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2293:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_stack_sp);
                 ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2294:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_statcache);
                 ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2295:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_stdingv);
                 ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2296:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_sv_arenaroot);
                 ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2297:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_tainted);
                 ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/pp.h:328:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv(PUSHmortal, (IV)(i)); } STMT_END
                                                                    ^
K:\get\strawberry-perl-5.22.2.1-32bit-PDL\perl\lib\CORE/embed.h:652:46: note: in definition of macro 'sv_setiv'
 #define sv_setiv(a,b)  Perl_sv_setiv(aTHX_ a,b)
                                              ^
RealPPPort.xs:264:48: note: in expansion of macro 'mXPUSHi'
 #define ppp_TESTVAR(var)          STMT_START { mXPUSHi(&var); count++; } STMT_END
                                                ^
RealPPPort.xs:2298:17: note: in expansion of macro 'ppp_TESTVAR'
                 ppp_TESTVAR(PL_tainting);
                 ^

Hope this helps,
Ilya

@khwilliamson
Copy link
Member

Devel::PPPort has been extensively revised since this report. We don't see these errors on Linux 5.22. The next time I look over these old open tickets, and we haven't heard anything in response, I will close this. I'll give at least a month

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