rpy2 fails to compile on windows

Issue #174 wontfix
janschulz
created an issue

I tried to compile the 2.4.x branch on windows 7 (which compiles pandas just fine and has RTools and r installed and in the path):

[...]
C:\Program Files\Microsoft SDKs\Windows\v7.0\include\stralign.h(421) : warning C4996: 'wcscpy': This function or variable may be unsafe. Consider using wcscpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files\Microsoft SDKs\Windows\v7.0\include\stralign.h(422) : warning C4068: unknown pragma
C:\Program Files\Microsoft SDKs\Windows\v7.0\include\stralign.h(666) : warning C4068: unknown pragma
C:\Program Files\Microsoft SDKs\Windows\v7.0\include\windows.h(238) : warning C4068: unknown pragma
C:\Program Files\Microsoft SDKs\Windows\v7.0\include\ws2def.h(41) : warning C4068: unknown pragma
C:\Program Files\Microsoft SDKs\Windows\v7.0\include\ws2def.h(42) : warning C4068: unknown pragma
C:\Program Files\Microsoft SDKs\Windows\v7.0\include\ws2def.h(43) : warning C4068: unknown pragma
C:\Program Files\Microsoft SDKs\Windows\v7.0\include\ws2def.h(961) : warning C4068: unknown pragma
c:\data\external\rpy2\rpy\rinterface\embeddedr.h(6) : warning C4114: same type qualifier used more than once
c:\data\external\rpy2\rpy\rinterface\embeddedr.h(7) : warning C4114: same type qualifier used more than once
c:\data\external\rpy2\rpy\rinterface\embeddedr.h(22) : error C2054: expected '(' to follow 'inline'
c:\data\external\rpy2\rpy\rinterface\embeddedr.h(22) : error C2085: 'Rpy_ReplaceSexp' : not in formal parameter list
c:\data\external\rpy2\rpy\rinterface\na_values.h(8) : error C2085: 'NAInteger_Type' : not in formal parameter list
c:\data\external\rpy2\rpy\rinterface\na_values.h(9) : error C2085: 'NAReal_Type' : not in formal parameter list
c:\data\external\rpy2\rpy\rinterface\na_values.h(10) : error C2085: 'NAComplex_Type' : not in formal parameter list
c:\data\external\rpy2\rpy\rinterface\na_values.h(11) : error C2085: 'NALogical_Type' : not in formal parameter list
c:\data\external\rpy2\rpy\rinterface\na_values.h(12) : error C2085: 'NACharacter_Type' : not in formal parameter list
c:\data\external\rpy2\rpy\rinterface\na_values.h(17) : error C2057: expected constant expression
c:\data\external\rpy2\rpy\rinterface\na_values.h(18) : error C2085: 'ieee_double' : not in formal parameter list
c:\data\external\rpy2\rpy\rinterface\na_values.h(23) : error C2085: 'ieee_double' : not in formal parameter list
error: command '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\cl.exe"' failed with exit status 2

Comments (4)

  1. Log in to comment