devtools::install_github("rstats-db/odbc", args=c('--no-multiarch'))
#> output
Downloading GitHub repo rstats-db/odbc@master
from URL https://api.github.com/repos/rstats-db/odbc/zipball/master
Installing odbc
"C:/work/software/R/R-3.3.2/bin/x64/R" --no-site-file --no-environ --no-save \
--no-restore --quiet CMD INSTALL \
"C:/Users/wcooper003/AppData/Local/Temp/RtmpkzTJD0/devtools344440d410cf/rstats-db-odbc-201a1e1" \
--library="C:/work/software/R/R-3.3.2/library" --with-keep.source \
--install-tests --no-multiarch
* installing *source* package 'odbc' ...
** libs
(cd cctz && \
make libcctz.a PREFIX="../" CC="C:/work/software/R/Rtools34/mingw_64/bin/gcc " CXX="C:/work/software/R/Rtools34/mingw_64/bin/g++ -std=c++0x" AR="C:/work/software/R/Rtools34/mingw_64/bin/ar" ARFLAGS=rv)
make[1]: Entering directory `/cygdrive/c/Users/wcooper003/AppData/Local/Temp/RtmpkzTJD0/devtools344440d410cf/rstats-db-odbc-201a1e1/src/cctz'
C:/work/software/R/Rtools34/mingw_64/bin/g++ -std=c++0x -Wall -Iinclude -std=c++11 -pthread -O -fPIC -MMD -c -o time_zone_format.o src/time_zone_format.cc
src/time_zone_format.cc:1:0: warning: -fPIC ignored for target (all code is position independent)
// Copyright 2016 Google Inc. All Rights Reserved.
^
C:/work/software/R/Rtools34/mingw_64/bin/g++ -std=c++0x -Wall -Iinclude -std=c++11 -pthread -O -fPIC -MMD -c -o time_zone_if.o src/time_zone_if.cc
src/time_zone_if.cc:1:0: warning: -fPIC ignored for target (all code is position independent)
// Copyright 2016 Google Inc. All Rights Reserved.
^
C:/work/software/R/Rtools34/mingw_64/bin/g++ -std=c++0x -Wall -Iinclude -std=c++11 -pthread -O -fPIC -MMD -c -o time_zone_impl.o src/time_zone_impl.cc
src/time_zone_impl.cc:1:0: warning: -fPIC ignored for target (all code is position independent)
// Copyright 2016 Google Inc. All Rights Reserved.
^
C:/work/software/R/Rtools34/mingw_64/bin/g++ -std=c++0x -Wall -Iinclude -std=c++11 -pthread -O -fPIC -MMD -c -o time_zone_info.o src/time_zone_info.cc
src/time_zone_info.cc:1:0: warning: -fPIC ignored for target (all code is position independent)
// Copyright 2016 Google Inc. All Rights Reserved.
^
C:/work/software/R/Rtools34/mingw_64/bin/g++ -std=c++0x -Wall -Iinclude -std=c++11 -pthread -O -fPIC -MMD -c -o time_zone_libc.o src/time_zone_libc.cc
src/time_zone_libc.cc:1:0: warning: -fPIC ignored for target (all code is position independent)
// Copyright 2016 Google Inc. All Rights Reserved.
^
C:/work/software/R/Rtools34/mingw_64/bin/g++ -std=c++0x -Wall -Iinclude -std=c++11 -pthread -O -fPIC -MMD -c -o time_zone_lookup.o src/time_zone_lookup.cc
src/time_zone_lookup.cc:1:0: warning: -fPIC ignored for target (all code is position independent)
// Copyright 2016 Google Inc. All Rights Reserved.
^
C:/work/software/R/Rtools34/mingw_64/bin/g++ -std=c++0x -Wall -Iinclude -std=c++11 -pthread -O -fPIC -MMD -c -o time_zone_posix.o src/time_zone_posix.cc
src/time_zone_posix.cc:1:0: warning: -fPIC ignored for target (all code is position independent)
// Copyright 2016 Google Inc. All Rights Reserved.
^
C:/work/software/R/Rtools34/mingw_64/bin/ar rv libcctz.a time_zone_format.o time_zone_if.o time_zone_impl.o time_zone_info.o time_zone_libc.o time_zone_lookup.o time_zone_posix.o
a - time_zone_format.o
a - time_zone_if.o
a - time_zone_impl.o
a - time_zone_info.o
a - time_zone_libc.o
a - time_zone_lookup.o
a - time_zone_posix.o
C:\work\software\R\Rtools34\mingw_64\bin\ar.exe: creating libcctz.a
make[1]: Leaving directory `/cygdrive/c/Users/wcooper003/AppData/Local/Temp/RtmpkzTJD0/devtools344440d410cf/rstats-db-odbc-201a1e1/src/cctz'
C:/work/software/R/Rtools34/mingw_64/bin/g++ -std=c++0x -I"C:/work/software/R/R-33~1.2/include" -DNDEBUG -I"C:/work/software/R/R-3.3.2/library/Rcpp/include" -I"C:/work/software/R/R-3.3.2/library/BH/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -I. -DNANODBC_USE_BOOST_CONVERT -Icctz/include -O2 -Wall -mtune=core2 -c RcppExports.cpp -o RcppExports.o
C:/work/software/R/Rtools34/mingw_64/bin/g++ -std=c++0x -I"C:/work/software/R/R-33~1.2/include" -DNDEBUG -I"C:/work/software/R/R-3.3.2/library/Rcpp/include" -I"C:/work/software/R/R-3.3.2/library/BH/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -I. -DNANODBC_USE_BOOST_CONVERT -Icctz/include -O2 -Wall -mtune=core2 -c connection.cpp -o connection.o
C:/work/software/R/Rtools34/mingw_64/bin/gcc -I"C:/work/software/R/R-33~1.2/include" -DNDEBUG -I"C:/work/software/R/R-3.3.2/library/Rcpp/include" -I"C:/work/software/R/R-3.3.2/library/BH/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -std=gnu99 -mtune=core2 -c init.c -o init.o
C:/work/software/R/Rtools34/mingw_64/bin/g++ -std=c++0x -I"C:/work/software/R/R-33~1.2/include" -DNDEBUG -I"C:/work/software/R/R-3.3.2/library/Rcpp/include" -I"C:/work/software/R/R-3.3.2/library/BH/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -I. -DNANODBC_USE_BOOST_CONVERT -Icctz/include -O2 -Wall -mtune=core2 -c nanodbc.cpp -o nanodbc.o
C:/work/software/R/Rtools34/mingw_64/bin/g++ -std=c++0x -I"C:/work/software/R/R-33~1.2/include" -DNDEBUG -I"C:/work/software/R/R-3.3.2/library/Rcpp/include" -I"C:/work/software/R/R-3.3.2/library/BH/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -I. -DNANODBC_USE_BOOST_CONVERT -Icctz/include -O2 -Wall -mtune=core2 -c odbc_connection.cpp -o odbc_connection.o
In file included from C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sql.h:13:0,
from C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:9,
from odbc_connection.h:6,
from odbc_connection.cpp:1:
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqltypes.h:37:11: error: 'INT64' does not name a type
typedef INT64 SQLLEN;
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqltypes.h:38:11: error: 'UINT64' does not name a type
typedef UINT64 SQLULEN;
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqltypes.h:39:11: error: 'UINT64' does not name a type
typedef UINT64 SQLSETPOSIROW;
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqltypes.h:46:11: error: 'SQLULEN' does not name a type
typedef SQLULEN SQLROWCOUNT;
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqltypes.h:47:11: error: 'SQLULEN' does not name a type
typedef SQLULEN SQLROWSETSIZE;
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqltypes.h:48:11: error: 'SQLULEN' does not name a type
typedef SQLULEN SQLTRANSID;
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqltypes.h:49:11: error: 'SQLLEN' does not name a type
typedef SQLLEN SQLROWOFFSET;
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqltypes.h:110:11: error: 'HWND' does not name a type
typedef HWND SQLHWND;
^
In file included from C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sql.h:13:0,
from C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:9,
from odbc_connection.h:6,
from odbc_connection.cpp:1:
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqltypes.h:204:5: error: 'DWORD' does not name a type
DWORD Data1;
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqltypes.h:205:5: error: 'WORD' does not name a type
WORD Data2;
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqltypes.h:206:5: error: 'WORD' does not name a type
WORD Data3;
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqltypes.h:207:5: error: 'BYTE' does not name a type
BYTE Data4[8 ];
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqltypes.h:212:11: error: 'SQLULEN' does not name a type
typedef SQLULEN BOOKMARK;
^
In file included from C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:9:0,
from odbc_connection.h:6,
from odbc_connection.cpp:1:
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sql.h:489:129: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLBindCol(SQLHSTMT StatementHandle,SQLUSMALLINT ColumnNumber,SQLSMALLINT TargetType,SQLPOINTER TargetValue,SQLLEN BufferLength,SQLLEN *StrLen_or_Ind);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sql.h:489:149: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLBindCol(SQLHSTMT StatementHandle,SQLUSMALLINT ColumnNumber,SQLSMALLINT TargetType,SQLPOINTER TargetValue,SQLLEN BufferLength,SQLLEN *StrLen_or_Ind);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sql.h:491:136: error: 'SQLULEN' has not been declared
SQLRETURN SQL_API SQLBindParam(SQLHSTMT StatementHandle,SQLUSMALLINT ParameterNumber,SQLSMALLINT ValueType,SQLSMALLINT ParameterType,SQLULEN LengthPrecision,SQLSMALLINT ParameterScale,SQLPOINTER ParameterValue,SQLLEN *StrLen_or_Ind);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sql.h:491:213: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLBindParam(SQLHSTMT StatementHandle,SQLUSMALLINT ParameterNumber,SQLSMALLINT ValueType,SQLSMALLINT ParameterType,SQLULEN LengthPrecision,SQLSMALLINT ParameterScale,SQLPOINTER ParameterValue,SQLLEN *StrLen_or_Ind);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sql.h:497:198: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLColAttribute(SQLHSTMT StatementHandle,SQLUSMALLINT ColumnNumber,SQLUSMALLINT FieldIdentifier,SQLPOINTER CharacterAttribute,SQLSMALLINT BufferLength,SQLSMALLINT *StringLength,SQLLEN *NumericAttribute);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sql.h:508:178: error: 'SQLULEN' has not been declared
SQLRETURN SQL_API SQLDescribeCol(SQLHSTMT StatementHandle,SQLUSMALLINT ColumnNumber,SQLCHAR *ColumnName,SQLSMALLINT BufferLength,SQLSMALLINT *NameLength,SQLSMALLINT *DataType,SQLULEN *ColumnSize,SQLSMALLINT *DecimalDigits,SQLSMALLINT *Nullable);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sql.h:518:90: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLFetchScroll(SQLHSTMT StatementHandle,SQLSMALLINT FetchOrientation,SQLLEN FetchOffset);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sql.h:531:129: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLGetData(SQLHSTMT StatementHandle,SQLUSMALLINT ColumnNumber,SQLSMALLINT TargetType,SQLPOINTER TargetValue,SQLLEN BufferLength,SQLLEN *StrLen_or_Ind);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sql.h:531:149: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLGetData(SQLHSTMT StatementHandle,SQLUSMALLINT ColumnNumber,SQLSMALLINT TargetType,SQLPOINTER TargetValue,SQLLEN BufferLength,SQLLEN *StrLen_or_Ind);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sql.h:534:187: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLGetDescRec(SQLHDESC DescriptorHandle,SQLSMALLINT RecNumber,SQLCHAR *Name,SQLSMALLINT BufferLength,SQLSMALLINT *StringLength,SQLSMALLINT *Type,SQLSMALLINT *SubType,SQLLEN *Length,SQLSMALLINT *Precision,SQLSMALLINT *Scale,SQLSMALLINT *Nullable);
^
In file included from C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:9:0,
from odbc_connection.h:6,
from odbc_connection.cpp:1:
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sql.h:549:73: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLPutData(SQLHSTMT StatementHandle,SQLPOINTER Data,SQLLEN StrLen_or_Ind);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sql.h:550:58: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLRowCount(SQLHSTMT StatementHandle,SQLLEN *RowCount);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sql.h:554:86: error: 'SQLULEN' has not been declared
SQLRETURN SQL_API SQLSetConnectOption(SQLHDBC ConnectionHandle,SQLUSMALLINT Option,SQLULEN Value);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sql.h:558:120: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLSetDescRec(SQLHDESC DescriptorHandle,SQLSMALLINT RecNumber,SQLSMALLINT Type,SQLSMALLINT SubType,SQLLEN Length,SQLSMALLINT Precision,SQLSMALLINT Scale,SQLPOINTER Data,SQLLEN *StringLength,SQLLEN *Indicator);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sql.h:558:190: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLSetDescRec(SQLHDESC DescriptorHandle,SQLSMALLINT RecNumber,SQLSMALLINT Type,SQLSMALLINT SubType,SQLLEN Length,SQLSMALLINT Precision,SQLSMALLINT Scale,SQLPOINTER Data,SQLLEN *StringLength,SQLLEN *Indicator);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sql.h:558:211: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLSetDescRec(SQLHDESC DescriptorHandle,SQLSMALLINT RecNumber,SQLSMALLINT Type,SQLSMALLINT SubType,SQLLEN Length,SQLSMALLINT Precision,SQLSMALLINT Scale,SQLPOINTER Data,SQLLEN *StringLength,SQLLEN *Indicator);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sql.h:561:135: error: 'SQLULEN' has not been declared
SQLRETURN SQL_API SQLSetParam(SQLHSTMT StatementHandle,SQLUSMALLINT ParameterNumber,SQLSMALLINT ValueType,SQLSMALLINT ParameterType,SQLULEN LengthPrecision,SQLSMALLINT ParameterScale,SQLPOINTER ParameterValue,SQLLEN *StrLen_or_Ind);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sql.h:561:212: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLSetParam(SQLHSTMT StatementHandle,SQLUSMALLINT ParameterNumber,SQLSMALLINT ValueType,SQLSMALLINT ParameterType,SQLULEN LengthPrecision,SQLSMALLINT ParameterScale,SQLPOINTER ParameterValue,SQLLEN *StrLen_or_Ind);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sql.h:565:83: error: 'SQLULEN' has not been declared
SQLRETURN SQL_API SQLSetStmtOption(SQLHSTMT StatementHandle,SQLUSMALLINT Option,SQLULEN Value);
^
In file included from odbc_connection.h:6:0,
from odbc_connection.cpp:1:
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1366:51: error: 'SQLHWND' has not been declared
SQLRETURN SQL_API SQLDriverConnect(SQLHDBC hdbc,SQLHWND hwnd,SQLCHAR *szConnStrIn,SQLSMALLINT cbConnStrIn,SQLCHAR *szConnStrOut,SQLSMALLINT cbConnStrOutMax,SQLSMALLINT *pcbConnStrOut,SQLUSMALLINT fDriverCompletion);
^
In file included from odbc_connection.h:6:0,
from odbc_connection.cpp:1:
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1427:156: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLColAttributes(SQLHSTMT hstmt,SQLUSMALLINT icol,SQLUSMALLINT fDescType,SQLPOINTER rgbDesc,SQLSMALLINT cbDescMax,SQLSMALLINT *pcbDesc,SQLLEN *pfDesc);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1429:94: error: 'SQLULEN' has not been declared
SQLRETURN SQL_API SQLDescribeParam(SQLHSTMT hstmt,SQLUSMALLINT ipar,SQLSMALLINT *pfSqlType,SQLULEN *pcbParamDef,SQLSMALLINT *pibScale,SQLSMALLINT *pfNullable);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1430:77: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLExtendedFetch(SQLHSTMT hstmt,SQLUSMALLINT fFetchType,SQLLEN irow,SQLULEN *pcrow,SQLUSMALLINT *rgfRowStatus);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1430:89: error: 'SQLULEN' has not been declared
SQLRETURN SQL_API SQLExtendedFetch(SQLHSTMT hstmt,SQLUSMALLINT fFetchType,SQLLEN irow,SQLULEN *pcrow,SQLUSMALLINT *rgfRowStatus);
^
In file included from odbc_connection.h:6:0,
from odbc_connection.cpp:1:
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1435:52: error: 'SQLULEN' has not been declared
SQLRETURN SQL_API SQLParamOptions(SQLHSTMT hstmt,SQLULEN crow,SQLULEN *pirow);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1435:65: error: 'SQLULEN' has not been declared
SQLRETURN SQL_API SQLParamOptions(SQLHSTMT hstmt,SQLULEN crow,SQLULEN *pirow);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1439:46: error: 'SQLSETPOSIROW' has not been declared
SQLRETURN SQL_API SQLSetPos(SQLHSTMT hstmt,SQLSETPOSIROW irow,SQLUSMALLINT fOption,SQLUSMALLINT fLock);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1442:134: error: 'SQLULEN' has not been declared
SQLRETURN SQL_API SQLBindParameter(SQLHSTMT hstmt,SQLUSMALLINT ipar,SQLSMALLINT fParamType,SQLSMALLINT fCType,SQLSMALLINT fSqlType,SQLULEN cbColDef,SQLSMALLINT ibScale,SQLPOINTER rgbValue,SQLLEN cbValueMax,SQLLEN *pcbValue);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1442:191: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLBindParameter(SQLHSTMT hstmt,SQLUSMALLINT ipar,SQLSMALLINT fParamType,SQLSMALLINT fCType,SQLSMALLINT fSqlType,SQLULEN cbColDef,SQLSMALLINT ibScale,SQLPOINTER rgbValue,SQLLEN cbValueMax,SQLLEN *pcbValue);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1442:209: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLBindParameter(SQLHSTMT hstmt,SQLUSMALLINT ipar,SQLSMALLINT fParamType,SQLSMALLINT fCType,SQLSMALLINT fSqlType,SQLULEN cbColDef,SQLSMALLINT ibScale,SQLPOINTER rgbValue,SQLLEN cbValueMax,SQLLEN *pcbValue);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1489:82: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLSetScrollOptions(SQLHSTMT hstmt,SQLUSMALLINT fConcurrency,SQLLEN crowKeyset,SQLUSMALLINT crowRowset);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1493:36: error: 'LPWSTR' was not declared in this scope
RETCODE SQL_API TraceOpenLogFile(LPWSTR,LPWSTR,DWORD);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1493:43: error: 'LPWSTR' was not declared in this scope
RETCODE SQL_API TraceOpenLogFile(LPWSTR,LPWSTR,DWORD);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1493:50: error: 'DWORD' was not declared in this scope
RETCODE SQL_API TraceOpenLogFile(LPWSTR,LPWSTR,DWORD);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1493:55: error: expression list treated as compound expression in initializer [-fpermissive]
RETCODE SQL_API TraceOpenLogFile(LPWSTR,LPWSTR,DWORD);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1495:3: error: 'VOID' does not name a type
VOID SQL_API TraceReturn(RETCODE,RETCODE);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1496:3: error: 'DWORD' does not name a type
DWORD SQL_API TraceVersion();
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1501:34: error: 'DWORD' was not declared in this scope
RETCODE SQL_API TraceVSControl(DWORD);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1503:3: error: 'WINBOOL' does not name a type
WINBOOL SQL_API ODBCSetTryWaitValue(DWORD dwValue);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1504:3: error: 'DWORD' does not name a type
DWORD SQL_API ODBCGetTryWaitValue();
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1512:11: error: 'GUID' does not name a type
const GUID *pguidEvent;
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1513:5: error: 'DWORD' does not name a type
DWORD dwFlags;
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1515:7: error: 'WCHAR' does not name a type
WCHAR *wszArg;
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1516:7: error: 'CHAR' does not name a type
CHAR *szArg;
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1519:7: error: 'WCHAR' does not name a type
WCHAR *wszCorrelation;
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1520:7: error: 'CHAR' does not name a type
CHAR *szCorrelation;
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1524:3: error: 'VOID' does not name a type
VOID SQL_API FireVSDebugEvent(PODBC_VS_ARGS);
^
In file included from C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1531:0,
from odbc_connection.h:6,
from odbc_connection.cpp:1:
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlucode.h:30:163: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLColAttributeW(SQLHSTMT hstmt,SQLUSMALLINT iCol,SQLUSMALLINT iField,SQLPOINTER pCharAttr,SQLSMALLINT cbCharAttrMax,SQLSMALLINT *pcbCharAttr,SQLLEN *pNumAttr);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlucode.h:34:157: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLColAttributesW(SQLHSTMT hstmt,SQLUSMALLINT icol,SQLUSMALLINT fDescType,SQLPOINTER rgbDesc,SQLSMALLINT cbDescMax,SQLSMALLINT *pcbDesc,SQLLEN *pfDesc);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlucode.h:36:162: error: 'SQLULEN' has not been declared
SQLRETURN SQL_API SQLDescribeColW(SQLHSTMT hstmt,SQLUSMALLINT icol,SQLWCHAR *szColName,SQLSMALLINT cbColNameMax,SQLSMALLINT *pcbColName,SQLSMALLINT *pfSqlType,SQLULEN *pcbColDef,SQLSMALLINT *pibScale,SQLSMALLINT *pfNullable);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlucode.h:44:174: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLGetDescRecW(SQLHDESC hdesc,SQLSMALLINT iRecord,SQLWCHAR *szName,SQLSMALLINT cbNameMax,SQLSMALLINT *pcbName,SQLSMALLINT *pfType,SQLSMALLINT *pfSubType,SQLLEN *pLength,SQLSMALLINT *pPrecision,SQLSMALLINT *pScale,SQLSMALLINT *pNullable);
^
In file included from C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlext.h:1531:0,
from odbc_connection.h:6,
from odbc_connection.cpp:1:
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlucode.h:55:76: error: 'SQLULEN' has not been declared
SQLRETURN SQL_API SQLSetConnectOptionW(SQLHDBC hdbc,SQLUSMALLINT fOption,SQLULEN vParam);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlucode.h:60:52: error: 'SQLHWND' has not been declared
SQLRETURN SQL_API SQLDriverConnectW(SQLHDBC hdbc,SQLHWND hwnd,SQLWCHAR *szConnStrIn,SQLSMALLINT cbConnStrIn,SQLWCHAR *szConnStrOut,SQLSMALLINT cbConnStrOutMax,SQLSMALLINT *pcbConnStrOut,SQLUSMALLINT fDriverCompletion);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlucode.h:73:161: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLColAttributeA(SQLHSTMT hstmt,SQLSMALLINT iCol,SQLSMALLINT iField,SQLPOINTER pCharAttr,SQLSMALLINT cbCharAttrMax,SQLSMALLINT *pcbCharAttr,SQLLEN *pNumAttr);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlucode.h:77:157: error: 'SQLLEN' has not been declared
SQLRETURN SQL_API SQLColAttributesA(SQLHSTMT hstmt,SQLUSMALLINT icol,SQLUSMALLINT fDescType,SQLPOINTER rgbDesc,SQLSMALLINT cbDescMax,SQLSMALLINT *pcbDesc,SQLLEN *pfDesc);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlucode.h:99:76: error: 'SQLULEN' has not been declared
SQLRETURN SQL_API SQLSetConnectOptionA(SQLHDBC hdbc,SQLUSMALLINT fOption,SQLULEN vParam);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlucode.h:100:75: error: 'SQLULEN' has not been declared
SQLRETURN SQL_API SQLSetStmtOptionA(SQLHSTMT hstmt,SQLUSMALLINT fOption,SQLULEN vParam);
^
C:/work/software/R/Rtools34/mingw_64/x86_64-w64-mingw32/include/sqlucode.h:105:52: error: 'SQLHWND' has not been declared
SQLRETURN SQL_API SQLDriverConnectA(SQLHDBC hdbc,SQLHWND hwnd,SQLCHAR *szConnStrIn,SQLSMALLINT cbConnStrIn,SQLCHAR *szConnStrOut,SQLSMALLINT cbConnStrOutMax,SQLSMALLINT *pcbConnStrOut,SQLUSMALLINT fDriverCompletion);
^
make: *** [odbc_connection.o] Error 1
Warning: running command 'make -f "Makevars.win" -f "C:/work/software/R/R-33~1.2/etc/x64/Makeconf" -f "C:/work/software/R/R-33~1.2/share/make/winshlib.mk" CXX='$(CXX1X) $(CXX1XSTD)' CXXFLAGS='$(CXX1XFLAGS)' CXXPICFLAGS='$(CXX1XPICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX1XLDFLAGS)' SHLIB_LD='$(SHLIB_CXX1XLD)' SHLIB="odbc.dll" WIN=64 TCLBIN=64 OBJECTS="RcppExports.o connection.o init.o nanodbc.o odbc_connection.o result.o"' had status 2
ERROR: compilation failed for package 'odbc'
* removing 'C:/work/software/R/R-3.3.2/library/odbc'
Error: Command failed (1)