Hello esteemed Monks, I'm installing the DBD::DB2 module on Windows 10 with Strawberry Perl v5.28.1 using cpan's install DBD::DB2 and getting a lot of strange "did you mean..." errors, e.g.:
In file included from C:/PROGRA~1/IBM/SQLLIB/include/sqlcli.h:987:0,
from Constants.xs:16:
C:/PROGRA~1/IBM/SQLLIB/include/sqlext.h:1748:5: error: unknown type na
+me '__in_ecount'; did you mean 'SAL__in_ecount'?
__in_ecount(cchConnStrIn)
^~~~~~~~~~~
SAL__in_ecount
C:/PROGRA~1/IBM/SQLLIB/include/sqlext.h:1751:5: error: unknown type na
+me '__out_ecount_opt'; did you mean 'SAL__out_ecount_opt'?
__out_ecount_opt(cchConnStrOutMax)
^~~~~~~~~~~~~~~~
SAL__out_ecount_opt
C:/PROGRA~1/IBM/SQLLIB/include/sqlext.h:1754:5: error: unknown type na
+me '__out_opt'; did you mean '_Out_opt_'?
__out_opt
^~~~~~~~~
Any clue what's going on here? Thanks as always for your advice and patience.
p.s. don't know if this is any kind of clue, but when I start the cpan shell I get this:
Unable to get Terminal Size. The Win32 GetConsoleScreenBufferInfo call
+ didn't work. The COLUMNS and LINES environment variables didn't work
+. at C:\Strawberry\perl\vendor\lib/Term/ReadLine/readline.pm line 410
+.
cpan shell -- CPAN exploration and modules installation (v2.20)
Enter 'h' for help.
cpan>