Subject: | "error: '_strtoi64' is not a member of 'std'" for both Panda::Lib and Geo::GDAL |
I'm getting the same errors reported by kmx for Wx under strawberry perl 5.26.0.1, but for Panda::Lib and Geo::GDAL.
The Wx report is at https://rt.cpan.org/Public/Bug/Display.html?id=121683
I tried the solution posted by kuehro in that RT (patching perl.h), and the errors disappeared.
Geo::GDAL subsequently builds and passes its tests. Building the gdal library takes a long time and needs msys2, but I can provide build steps if you want to reproduce it.
Panda::Lib subsequently fails its tests, but presumably for unrelated reasons (it is known to not build with strawberry perl <= 5.24).
If kuehro's solution is sensible then could it be incorporated into the next Strawberry Perl version?
Apologies if you've already considered this, but I can see no related changes on the GitHub repo.
Thanks,
Shawn.
perl -v
This is perl 5, version 26, subversion 0 (v5.26.0) built for MSWin32-x64-multi-thread
Copyright 1987-2017, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.