On Wed May 16 18:11:31 2018, RAVENHALL wrote:
Show quoted text> I have the same problem on Strawberry Perl 5.24.4_64. This is a very
> widely used module, please address this with a fix.
I believe the source files are C++ (hence the "cpp" and "hpp" extensions), yet you are using gcc as the compiler.
Try using g++ instead, by running:
cpanm Win32::ODBC --configure-args="CC=g++"
and check the build log to verify that g++ does, in fact, get used instead of gcc.
I've not ever built or used Win32::ODBC, so I don't know if there are any other issues with building it on Strawberry Perl, but I do know that compiling C++ source with gcc is likely to not work.
ActiveState might provide ppm packages of Win32::ODBC. I think they would work fine on Strawberry Perl ... but this would be a workaround, not a solution.
Cheers,
Rob