- installing source package 'DEploid' ...
** using staged installation
** libs
*** arch - i386
d:/Compiler/rtools40/mingw32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R4/include" -DNDEBUG -I'd:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include' -I"d:/Compiler/gcc-4.9.3/local330/include" -I/usr/share/R/include/ -IDEploid/ -IDEploid/codeCogs/ -IDEploid/random/ -IDEploid/gzstream/ -IDEploid/lasso/ -DVERSION=""R"" -DRBUILD -O2 -Wall -mtune=core2 -c rvcf.cpp -o rvcf.o
In file included from D:/Compiler/rtools40/mingw32/i686-w64-mingw32/include/combaseapi.h:155,
from D:/Compiler/rtools40/mingw32/i686-w64-mingw32/include/objbase.h:14,
from D:/Compiler/rtools40/mingw32/i686-w64-mingw32/include/ole2.h:17,
from D:/Compiler/rtools40/mingw32/i686-w64-mingw32/include/wtypes.h:12,
from D:/Compiler/rtools40/mingw32/i686-w64-mingw32/include/winscard.h:10,
from D:/Compiler/rtools40/mingw32/i686-w64-mingw32/include/windows.h:97,
from d:/Compiler/gcc-4.9.3/local330/include/zconf.h:329,
from d:/Compiler/gcc-4.9.3/local330/include/zlib.h:34,
from DEploid/gzstream/gzstream.h:36,
from DEploid/vcfReader.hpp:32,
from rvcf.cpp:2:
D:/Compiler/rtools40/mingw32/i686-w64-mingw32/include/objidlbase.h:864:18: error: macro "Realloc" requires 3 arguments, but only 2 given
SIZE_T cb) = 0;
^
In file included from D:/Compiler/rtools40/mingw32/i686-w64-mingw32/include/combaseapi.h:155,
from D:/Compiler/rtools40/mingw32/i686-w64-mingw32/include/objbase.h:14,
from D:/Compiler/rtools40/mingw32/i686-w64-mingw32/include/ole2.h:17,
from D:/Compiler/rtools40/mingw32/i686-w64-mingw32/include/wtypes.h:12,
from D:/Compiler/rtools40/mingw32/i686-w64-mingw32/include/winscard.h:10,
from D:/Compiler/rtools40/mingw32/i686-w64-mingw32/include/windows.h:97,
from d:/Compiler/gcc-4.9.3/local330/include/zconf.h:329,
from d:/Compiler/gcc-4.9.3/local330/include/zlib.h:34,
from DEploid/gzstream/gzstream.h:36,
from DEploid/vcfReader.hpp:32,
from rvcf.cpp:2:
D:/Compiler/rtools40/mingw32/i686-w64-mingw32/include/objidlbase.h:864:22: error: 'Realloc' declared as a 'virtual' field
SIZE_T cb) = 0;
^
In file included from D:/RCompile/recent/R4/include/R.h:91,
from d:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/Rcpp/r/headers.h:71,
from d:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/RcppCommon.h:29,
from d:/RCompile/CRANpkg/lib/4.0gcc8/Rcpp/include/Rcpp.h:27,
from rvcf.cpp:1:
D:/RCompile/recent/R4/include/R_ext/RS.h:74:37: error: expected identifier before '(' token
#define Free(p) (R_chk_free( (void *)(p) ), (p) = NULL)
^
D:/RCompile/recent/R4/include/R_ext/RS.h:74:37: error: 'parameter' declared as function returning a function
D:/RCompile/recent/R4/include/R_ext/RS.h:74:50: error: expected ')' before ',' token
#define Free(p) (R_chk_free( (void *)(p) ), (p) = NULL)
~ ^
D:/RCompile/recent/R4/include/R_ext/RS.h:74:37: error: expected identifier before '(' token
#define Free(p) (R_chk_free( (void *)(p) ), (p) = NULL)
^
D:/RCompile/recent/R4/include/R_ext/RS.h:74:37: error: 'parameter' declared as function returning a function
D:/RCompile/recent/R4/include/R_ext/RS.h:74:50: error: expected ')' before ',' token
#define Free(p) (R_chk_free( (void *)(p) ), (p) = NULL)
~ ^
make: *** [D:/RCompile/recent/R4/etc/i386/Makeconf:215: rvcf.o] Error 1
ERROR: compilation failed for package 'DEploid'
- removing 'd:/RCompile/CRANincoming/R-devel/lib/DEploid'