Skip to content

Instantly share code, notes, and snippets.

@wchristian
Created July 8, 2018 20:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wchristian/9c003bf4c92ceae8cf9bf2e82b2d2b58 to your computer and use it in GitHub Desktop.
Save wchristian/9c003bf4c92ceae8cf9bf2e82b2d2b58 to your computer and use it in GitHub Desktop.
cpanm (App::cpanminus) 1.7044 on perl 5.026002 built for MSWin32-x64-multi-thread
Work directory is C:\Users\Mithaldu/.cpanm/work/1531083441.54408
You have make C:\Strawberry\c\bin\gmake.exe
You have LWP 6.33
Falling back to Archive::Tar 2.26
Searching Win32::ODBC () on cpanmetadb ...
--> Working on Win32::ODBC
Fetching http://www.cpan.org/authors/id/J/JD/JDB/Win32-ODBC-0.035.tar.gz
-> OK
Unpacking Win32-ODBC-0.035.tar.gz
Entering Win32-ODBC-0.035
Checking configure dependencies from META.yml
Configuring Win32-ODBC-0.035
Running Makefile.PL
Checking if your kit is complete...
Looks good
Generating a gmake-style Makefile
Writing Makefile for Win32::ODBC
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.34)
Building and testing Win32-ODBC-0.035
cp ODBC.pm blib\lib\Win32\ODBC.pm
Running Mkbootstrap for ODBC ()
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 "ODBC.bs"
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- ODBC.bs blib\arch\auto\Win32\ODBC\ODBC.bs 644
g++ -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"0.035\" -DXS_VERSION=\"0.035\" "-IC:\STRAWB~1\perl\lib\CORE" CMom.cpp
CMom.cpp: In destructor 'CMom::~CMom()':
CMom.cpp:113:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
szTemp = "\n\n====================================\nCMom::~CMom: WE ARE DELETING CMom! OH MY GOD! NO!!! DON'T DO IT!!!\n\n\n";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"0.035\" -DXS_VERSION=\"0.035\" "-IC:\STRAWB~1\perl\lib\CORE" Constant.cpp
g++ -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"0.035\" -DXS_VERSION=\"0.035\" "-IC:\STRAWB~1\perl\lib\CORE" CResults.cpp
CResults.cpp: In constructor 'CResults::CResults(ODBC_TYPE*)':
CResults.cpp:100:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
::ODBCError((char *)szBuff, h, "CResults()", "1");
^
CResults.cpp:100:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
CResults.cpp:124:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
::ODBCError((char *)szBuff, h, "CResults()", "2");
^
CResults.cpp:124:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from CResults.cpp:49:0:
CResults.cpp: In member function 'char* CResults::operator[](int)':
CResults.hpp:1:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
#define NULL_VALUE ""
^
CResults.hpp:1:20: note: in definition of macro 'NULL_VALUE'
#define NULL_VALUE ""
^~
"C:\Strawberry\perl\bin\perl.exe" -IC:\STRAWB~1\perl\lib -IC:\STRAWB~1\perl\lib "C:\Strawberry\perl\lib\ExtUtils/xsubpp" -typemap C:\STRAWB~1\perl\lib\ExtUtils\typemap ODBC.xs >xstmp.c && "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e mv -- xstmp.c ODBC.cpp
Didn't find a 'MODULE ... PACKAGE ... PREFIX' line
g++ -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"0.035\" -DXS_VERSION=\"0.035\" "-IC:\STRAWB~1\perl\lib\CORE" ODBC.cpp
ODBC.xs: In function 'RETCODE ResetStmt(ODBC_TYPE*)':
ODBC.xs:347:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ResetStmt", "1");
^
ODBC.xs:347:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:352:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ResetStmt", "2");
^
ODBC.xs:352:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs: In function 'char* MapCloseType(UWORD)':
ODBC.xs:576:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
szType = "SQL_DONT_CLOSE";
^~~~~~~~~~~~~~~~
ODBC.xs:580:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
szType = "SQL_DROP";
^~~~~~~~~~
ODBC.xs:584:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
szType = "SQL_CLOSE";
^~~~~~~~~~~
ODBC.xs:588:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
szType = "SQL_UNBIND";
^~~~~~~~~~~~
ODBC.xs:592:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
szType = "SQL_RESET_PARAMS";
^~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_Connect(PerlInterpreter*, CV*)':
ODBC.xs:645:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
h = ODBCError("Could not allocate memory of an ODBC connection\n", (ODBC_TYPE*)0, "ODBC_Connect", "1");
^
ODBC.xs:645:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:645:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:653:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ODBC_Connect could not allocate memory for an HDBC connection", "1a");
^
ODBC.xs:653:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:661:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error((ODBC_TYPE*)0, "ODBC_Connect", "2");
^
ODBC.xs:661:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from C:\STRAWB~1\perl\lib\CORE/perl.h:3913:0,
from ODBC.xs:45:
C:\STRAWB~1\perl\lib\CORE/sv.h:1670:68: error: cast from 'char*' to 'UDWORD {aka long unsigned int}' loses precision [-fpermissive]
? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
^
C:\STRAWB~1\perl\lib\CORE/sv.h:1664:30: note: in expansion of macro 'SvPV_flags'
#define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
^~~~~~~~~~
ODBC.xs:678:44: note: in expansion of macro 'SvPV'
udValue = (UDWORD) SvPV(ST(iTemp), n_a);
^
ODBC.xs:683:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ODBC_Connect", szError);
^
ODBC.xs:693:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ODBC_Connect", "4");
^
ODBC.xs:693:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:712:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ODBC_Connect", "5");
^
ODBC.xs:712:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_Execute(PerlInterpreter*, CV*)':
ODBC.xs:774:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ODBC_Execute", "1");
^
ODBC.xs:774:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_Fetch(PerlInterpreter*, CV*)':
ODBC.xs:836:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBCError("Can not allocate memory for row status results", h, "ODBC_Fetch", "1b");
^
ODBC.xs:836:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:836:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:846:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ODBC_Fetch", "2");
^
ODBC.xs:846:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:849:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBCError("No data records remain.", h, "ODBC_Fetch", "3");
^
ODBC.xs:849:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:849:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:853:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ODBC_Fetch", "4");
^
ODBC.xs:853:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_Disconnect(PerlInterpreter*, CV*)':
ODBC.xs:912:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
h = ODBCError("No such connection", (ODBC_TYPE*) 0, "ODBC_Disconnect", "1");
^
ODBC.xs:912:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:912:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'RETCODE TableColList(PerlInterpreter*, int)':
ODBC.xs:1033:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ODBC_TableColList", "1");
^
ODBC.xs:1033:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_MoreResults(PerlInterpreter*, CV*)':
ODBC.xs:1082:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ODBC_MoreResults", "1");
^
ODBC.xs:1082:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_MaxBufSize(PerlInterpreter*, CV*)':
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_GetDSN(PerlInterpreter*, CV*)':
ODBC.xs:1195:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBCError("Could not allocate memory for DSN comparison", h, "ODBC_GetDSN", "1");
^
ODBC.xs:1195:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1195:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1217:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBCError("Could not allocate enough memory", h, "ODBC_GetDSN", "2");
^
ODBC.xs:1217:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1217:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1220:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBCError("Not a valid DSN", h, "ODBC_GetDSN", "3");
^
ODBC.xs:1220:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1220:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1224:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBCError("Could not allocate enough memory", h, "ODBC_GetDSN", "4");
^
ODBC.xs:1224:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1224:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_DataSources(PerlInterpreter*, CV*)':
ODBC.xs:1281:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
h = ODBCError("No such ODBC connection.", (ODBC_TYPE*) 0, "ODBC_DataSources", "1");
^
ODBC.xs:1281:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1281:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_Drivers(PerlInterpreter*, CV*)':
ODBC.xs:1323:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
h = ODBCError("No such ODBC connection.", (ODBC_TYPE*) 0, "ODBC_Drivers", "1");
^
ODBC.xs:1323:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1323:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_RowCount(PerlInterpreter*, CV*)':
ODBC.xs:1350:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
h = ODBCError("No such ODBC connection.", (ODBC_TYPE*) 0, "ODBC_RowCount", "1");
^
ODBC.xs:1350:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1350:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_GetStmtCloseType(PerlInterpreter*, CV*)':
ODBC.xs:1395:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBCError("Invalid Statment Close Type", h, "ODBC_GetStmtCloseType", "1");
^
ODBC.xs:1395:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1395:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_SetStmtCloseType(PerlInterpreter*, CV*)':
ODBC.xs:1431:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBCError("Invalid Statment Close Type", h, "ODBC_SetStmtCloseType", "1");
^
ODBC.xs:1431:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1431:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1436:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBCError("Not a valid Stmt Close Type", h, "ODBC_SetStmtCloseType", "2");
^
ODBC.xs:1436:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1436:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
In file included from C:\STRAWB~1\perl\lib\CORE/perl.h:3913:0,
from ODBC.xs:45:
ODBC.xs: In function 'void XS_WIN32__ODBC_SetConnectOption(PerlInterpreter*, CV*)':
C:\STRAWB~1\perl\lib\CORE/sv.h:1670:68: error: cast from 'char*' to 'UDWORD {aka long unsigned int}' loses precision [-fpermissive]
? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
^
C:\STRAWB~1\perl\lib\CORE/sv.h:1664:30: note: in expansion of macro 'SvPV_flags'
#define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
^~~~~~~~~~
ODBC.xs:1470:28: note: in expansion of macro 'SvPV'
udValue = (UDWORD) SvPV(ST(2), n_a);
^
ODBC.xs:1477:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ODBC_SetConnectOption", "1");
^
ODBC.xs:1477:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_GetConnectOption(PerlInterpreter*, CV*)':
ODBC.xs:1515:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ODBC_GetConnectOption", "1");
^
ODBC.xs:1515:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
In file included from C:\STRAWB~1\perl\lib\CORE/perl.h:3913:0,
from ODBC.xs:45:
ODBC.xs: In function 'void XS_WIN32__ODBC_StmtOption(PerlInterpreter*, CV*)':
C:\STRAWB~1\perl\lib\CORE/sv.h:1670:68: error: cast from 'char*' to 'UDWORD {aka long unsigned int}' loses precision [-fpermissive]
? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
^
C:\STRAWB~1\perl\lib\CORE/sv.h:1664:30: note: in expansion of macro 'SvPV_flags'
#define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
^~~~~~~~~~
ODBC.xs:1571:32: note: in expansion of macro 'SvPV'
udValue = (UDWORD) SvPV(ST(2), n_a);
^
ODBC.xs:1583:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ODBC_StmtOption", "1");
^
ODBC.xs:1583:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1589:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ODBC_StmtOption", "2");
^
ODBC.xs:1589:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_GetFunctions(PerlInterpreter*, CV*)':
ODBC.xs:1657:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ODBC_GetFunctions", "1");
^
ODBC.xs:1657:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_Transact(PerlInterpreter*, CV*)':
ODBC.xs:1710:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ODBC_Transact", "1");
^
ODBC.xs:1710:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1713:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBCError("Invalid Transaction Type", h, "ODBC_Transact", "2");
^
ODBC.xs:1713:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1713:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_ConfigDSN(PerlInterpreter*, CV*)':
ODBC.xs:1763:98: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBCError("Illegal use of reserved characters []{}(),?*!@;", h, "ODBC_ConfigDSN", "1");
^
ODBC.xs:1763:98: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1763:98: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1771:99: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBCError("Could not allocate memory for the attribute list", h, "ODBC_ConfigDSN", "2");
^
ODBC.xs:1771:99: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1771:99: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1796:97: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBCError("Illegal use of reserved characters []{}(),?*!@", h, "ODBC_ConfigDSN", "3");
^
ODBC.xs:1796:97: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1796:97: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_GetInfo(PerlInterpreter*, CV*)':
ODBC.xs:1857:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ODBC_GetInfo", "1");
^
ODBC.xs:1857:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1860:96: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBCError("Could not allocate memory for result string", h, "ODBC_GetInfo", "2");
^
ODBC.xs:1860:96: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1860:96: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_ColAttributes(PerlInterpreter*, CV*)':
ODBC.xs:1956:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBCError("Unable to determine Column Attribute", h, "ODBC_ColAttributes", "1");
^
ODBC.xs:1956:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1956:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1959:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBCError("Field name does not exist", h, "ODBC_ColAttributes", "2");
^
ODBC.xs:1959:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:1959:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_Debug(PerlInterpreter*, CV*)':
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_SetPos(PerlInterpreter*, CV*)':
ODBC.xs:2086:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ODBC_SetPos", "1");
^
ODBC.xs:2086:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_GetData(PerlInterpreter*, CV*)':
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_DropCursor(PerlInterpreter*, CV*)':
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_CursorName(PerlInterpreter*, CV*)':
ODBC.xs:2236:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ODBC_CursorName", "1");
^
ODBC.xs:2236:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:2243:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBCError("Could not allocate memory", h, "ODBC_CursorName", "2");
^
ODBC.xs:2243:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:2243:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:2246:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ODBC_CursorName", "3");
^
ODBC.xs:2246:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:2250:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ODBC_CursorName", "4");
^
ODBC.xs:2250:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_Clone(PerlInterpreter*, CV*)':
ODBC.xs:2290:109: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
h = ODBCError("Could not allocate memory of an ODBC connection\n", (ODBC_TYPE *)0, "ODBC_Clone", "1");
^
ODBC.xs:2290:109: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:2290:109: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:2300:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ODBC_Clone", "2");
^
ODBC.xs:2300:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_GetSQLState(PerlInterpreter*, CV*)':
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_GetStats(PerlInterpreter*, CV*)':
ODBC.xs:2366:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
"ConnectionDebug"}; // Connections Debug state (if any)
^
ODBC.xs:2366:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:2366:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:2366:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:2366:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:2366:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:2366:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:2366:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:2366:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:2366:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:2366:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:2366:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
ODBC.xs:2366:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void XS_WIN32__ODBC_GetTypeInfo(PerlInterpreter*, CV*)':
ODBC.xs:2445:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szCommand = "GetTypeInfo()";
^~~~~~~~~~~~~~~
ODBC.xs:2467:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
_NT_ODBC_Error(h, "ODBC_GetTypeInfo", "1");
^
ODBC.xs:2467:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from ODBC.xs:59:0:
ODBC.h:84:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *szError = "No connections exist"; \
^
ODBC.h:84:20: note: in definition of macro 'ReturnError'
char *szError = "No connections exist"; \
^~~~~~~~~~~~~~~~~~~~~~
ODBC.xs: In function 'void boot_Win32__ODBC(PerlInterpreter*, CV*)':
ODBC.xs:2596:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char* file = __FILE__;
^~~~~~~~
gmake: *** [Makefile:344: ODBC.o] Error 1
-> FAIL Installing Win32::ODBC failed. See C:\Users\Mithaldu\.cpanm\work\1531083441.54408\build.log for details. Retry with --force to force install it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment