(sisyph...@optusnet.com.au) writes: > I struck a similar problem a while back: > http://www.nntp.perl.org/group/perl.perl5.porters/2015/06/msg228601.html > > Turned out my problem there was that the Makefile.PL was setting CCFLAGS > incorrectly (though it was only perl-5.22.0 and later that were > affected). As kmx had discovered in > https://github.com/tsee/extutils-cppguess/issues/9, it was the missing > -DPERL_IMPLICIT_SYS that was the problem.
I think I saw that thread when googling the problem. > Looking at > http://cpansearch.perl.org/src/SOMMAR/Win32-SqlServer-2.009/makefile.pl, I > can see that you do mess with CCFLAGS, but it looks like > -DPERL_IMPLICIT_SYS will still be there. > Maybe there's another missing (crucial) flag introduced by your change to > CCFLAGS. Could be. I might give it try. I meddle with the flags to link the run-time library statically, so that I don't have distribute them with the binary. And there is some change for the optimizer flags, because else one of my test cases fails for reasons I don't understand. > XS_BOTHVERSION_SETXSUBFN_POPMARK_BOOTCHECK is something I haven't > previously encountered. > Is there some documentation that suggests that defining it to 1 is a valid > thing to do ? I don't think so. I figured out by reading the source code in XSUB.h. I guess it could break in any release, including 5.24 which I have not tested yet. -- Erland Sommarskog, Stockholm, esq...@sommarskog.se