Skip to content

Instantly share code, notes, and snippets.

@jun66j5
Created September 16, 2024 10:55
Show Gist options
  • Save jun66j5/e0dd2f06e1906f62441cf320de047b8d to your computer and use it in GitHub Desktop.
Save jun66j5/e0dd2f06e1906f62441cf320de047b8d to your computer and use it in GitHub Desktop.
Errors on compiling swig-rb with msvc
"C:\usr\src\subversion\trunk-py312\subversion_vcnet.sln" (__MORE__;__SWIG_PYTHON__;__SWIG_PERL__;__SWIG_RUBY__;__JAVAHL__;__JAVAHL_TESTS__ target) (1) ->
"C:\usr\src\subversion\trunk-py312\build\win32\vcnet-vcproj\__SWIG_RUBY__.vcxproj" (default target) (152) ->
"C:\usr\src\subversion\trunk-py312\build\win32\vcnet-vcproj\ruby_core.vcxproj" (default target) (153) ->
"C:\usr\src\subversion\trunk-py312\build\win32\vcnet-vcproj\libsvn_swig_ruby_dll.vcxproj" (default target) (155) ->
"C:\usr\src\subversion\trunk-py312\build\win32\vcnet-vcproj\libsvn_swig_ruby.vcxproj" (default target) (156) ->
(ClCompile target) ->
C:\usr\src\subversion\trunk-py312\subversion\bindings\swig\ruby\libsvn_swig_ruby\swigutil_rb__pre_ruby.h(60,14): error C2632: 'long' followed by '__int64' is illegal [C:\usr\src\subversion\trunk-py312\build\win32\vcnet-vcproj\libsvn_swig_ruby.vcxproj]
C:\usr\src\subversion\trunk-py312\subversion\bindings\swig\ruby\libsvn_swig_ruby\swigutil_rb.c(791,46): error C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(VALUE,VALUE,VALUE)' [C:\usr\src\subversion\trunk-py312\build\win32\vcnet-vcproj\libsvn_swig_ruby.vcxproj]
C:\usr\src\subversion\trunk-py312\subversion\bindings\swig\ruby\libsvn_swig_ruby\swigutil_rb.c(809,26): error C4113: 'VALUE (__cdecl *)()' differs in parameter lists from 'VALUE (__cdecl *)(VALUE)' [C:\usr\src\subversion\trunk-py312\build\win32\vcnet-vcproj\libsvn_swig_ruby.vcxproj]
C:\usr\src\subversion\trunk-py312\subversion\bindings\swig\ruby\libsvn_swig_ruby\swigutil_rb.c(809,55): error C4113: 'VALUE (__cdecl *)()' differs in parameter lists from 'rb_block_call_func_t' [C:\usr\src\subversion\trunk-py312\build\win32\vcnet-vcproj\libsvn_swig_ruby.vcxproj]
C:\usr\src\subversion\trunk-py312\subversion\bindings\swig\ruby\libsvn_swig_ruby\swigutil_rb.c(1074,38): error C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(VALUE,VALUE,VALUE)' [C:\usr\src\subversion\trunk-py312\build\win32\vcnet-vcproj\libsvn_swig_ruby.vcxproj]
C:\usr\src\subversion\trunk-py312\subversion\bindings\swig\ruby\libsvn_swig_ruby\swigutil_rb.c(1130,38): error C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(VALUE,VALUE,VALUE)' [C:\usr\src\subversion\trunk-py312\build\win32\vcnet-vcproj\libsvn_swig_ruby.vcxproj]
C:\usr\src\subversion\trunk-py312\subversion\bindings\swig\ruby\libsvn_swig_ruby\swigutil_rb.c(1553,44): error C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(VALUE,VALUE,VALUE)' [C:\usr\src\subversion\trunk-py312\build\win32\vcnet-vcproj\libsvn_swig_ruby.vcxproj]
C:\usr\src\subversion\trunk-py312\subversion\bindings\swig\ruby\libsvn_swig_ruby\swigutil_rb.c(1658,39): error C4113: 'VALUE (__cdecl *)()' differs in parameter lists from 'VALUE (__cdecl *)(VALUE)' [C:\usr\src\subversion\trunk-py312\build\win32\vcnet-vcproj\libsvn_swig_ruby.vcxproj]
C:\usr\src\subversion\trunk-py312\subversion\bindings\swig\ruby\libsvn_swig_ruby\swigutil_rb.c(1659,39): error C4113: 'VALUE (__cdecl *)()' differs in parameter lists from 'VALUE (__cdecl *)(VALUE)' [C:\usr\src\subversion\trunk-py312\build\win32\vcnet-vcproj\libsvn_swig_ruby.vcxproj]
C:\usr\src\subversion\trunk-py312\subversion\bindings\swig\ruby\libsvn_swig_ruby\swigutil_rb.c(1668,40): error C4113: 'VALUE (__cdecl *)()' differs in parameter lists from 'VALUE (__cdecl *)(VALUE)' [C:\usr\src\subversion\trunk-py312\build\win32\vcnet-vcproj\libsvn_swig_ruby.vcxproj]
C:\usr\src\subversion\trunk-py312\subversion\bindings\swig\ruby\libsvn_swig_ruby\swigutil_rb.c(1670,40): error C4113: 'VALUE (__cdecl *)()' differs in parameter lists from 'VALUE (__cdecl *)(VALUE,VALUE)' [C:\usr\src\subversion\trunk-py312\build\win32\vcnet-vcproj\libsvn_swig_ruby.vcxproj]
C:\usr\src\subversion\trunk-py312\subversion\bindings\swig\ruby\libsvn_swig_ruby\swigutil_rb.c(1689,39): error C4113: 'VALUE (__cdecl *)()' differs in parameter lists from 'VALUE (__cdecl *)(VALUE)' [C:\usr\src\subversion\trunk-py312\build\win32\vcnet-vcproj\libsvn_swig_ruby.vcxproj]
C:\usr\src\subversion\trunk-py312\subversion\bindings\swig\ruby\libsvn_swig_ruby\swigutil_rb.c(1691,39): error C4113: 'VALUE (__cdecl *)()' differs in parameter lists from 'VALUE (__cdecl *)(VALUE)' [C:\usr\src\subversion\trunk-py312\build\win32\vcnet-vcproj\libsvn_swig_ruby.vcxproj]
C:\usr\src\subversion\trunk-py312\subversion\bindings\swig\ruby\libsvn_swig_ruby\swigutil_rb.c(1744,26): error C4113: 'VALUE (__cdecl *)()' differs in parameter lists from 'VALUE (__cdecl *)(VALUE)' [C:\usr\src\subversion\trunk-py312\build\win32\vcnet-vcproj\libsvn_swig_ruby.vcxproj]
C:\usr\src\subversion\trunk-py312\subversion\bindings\swig\ruby\libsvn_swig_ruby\swigutil_rb.c(1745,26): error C4113: 'VALUE (__cdecl *)()' differs in parameter lists from 'rb_block_call_func_t' [C:\usr\src\subversion\trunk-py312\build\win32\vcnet-vcproj\libsvn_swig_ruby.vcxproj]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment