Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation errors under win32 #5

Open
kennknowles opened this issue Sep 6, 2013 · 4 comments
Open

Compilation errors under win32 #5

kennknowles opened this issue Sep 6, 2013 · 4 comments
Assignees

Comments

@kennknowles
Copy link
Owner

Following errors occurred while compiling under win32:

dblib_stubs.c
dblib_stubs.c(101) : error C2061: syntax error : identifier 'err_handler'
dblib_stubs.c(101) : error C2059: syntax error : ';'
dblib_stubs.c(101) : error C2059: syntax error : 'type'
dblib_stubs.c(102) : error C2061: syntax error : identifier 'msg_handler'
dblib_stubs.c(102) : error C2059: syntax error : ';'
dblib_stubs.c(102) : error C2059: syntax error : 'type'
dblib_stubs.c(193) : error C2065: 'err_handler' : undeclared identifier
dblib_stubs.c(193) : warning C4047: 'function' : 'EHANDLEFUNC' differs in levels of indirection from 'int'
dblib_stubs.c(193) : warning C4024: 'dberrhandle' : different types for formal and actual parameter 1
dblib_stubs.c(194) : error C2065: 'msg_handler' : undeclared identifier
dblib_stubs.c(194) : warning C4047: 'function' : 'MHANDLEFUNC' differs in levels of indirection from 'int'
dblib_stubs.c(194) : warning C4024: 'dbmsghandle' : different types for formal and actual parameter 1
dblib_stubs.c(372) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int'
dblib_stubs.c(372) : warning C4024: 'caml_copy_string' : different types for formal and actual parameter 1
dblib_stubs.c(942) : warning C4047: 'function' : 'DBBINARY' differs in levels of indirection from 'char *'
dblib_stubs.c(942) : warning C4024: 'dbtxtsput' : different types for formal and actual parameter 2
dblib_stubs.c(1365) : error C2061: syntax error : identifier 'err_handler'
dblib_stubs.c(1365) : error C2059: syntax error : ';'
dblib_stubs.c(1365) : error C2059: syntax error : 'type'
dblib_stubs.c(1393) : error C2061: syntax error : identifier 'msg_handler'
dblib_stubs.c(1393) : error C2059: syntax error : ';'
dblib_stubs.c(1393) : error C2059: syntax error : 'type'

My enviroment vars:

C:\Documents and Settings\User.HOME-3D8A2273BA\Рабочий стол>echo %INCLUDE%
C:\Documents and Settings\User.HOME-3D8A2273BA\Рабочий стол\freetds-dev.0.92.377\include;C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include;D:\Program Files\Microsoft Visual Studio 10.0\VC\include;C:\Documents and Settings\User.HOME-3D8A2273BA\Рабочий стол\freetds-dev.0.92.377\win32;C:\ocamlms\lib
@Chris00
Copy link
Collaborator

Chris00 commented Sep 6, 2013

  1. It would help if the commands that were executed were given.
  2. I suppose 101 is the line number but there is no err_handler on that line. the first use of err_handler is on line 113.

@Chris00
Copy link
Collaborator

Chris00 commented Nov 12, 2017

I suppose a port to jbuilder and CI using AppVeyor is desirable.

@Chris00 Chris00 self-assigned this Nov 12, 2017
@Chris00
Copy link
Collaborator

Chris00 commented Apr 12, 2018

@brendanlong if you have the courage, setting up AppVeyor would also be nice. See e.g. https://github.com/Chris00/ocaml-interval/blob/master/appveyor.yml

@Chris00
Copy link
Collaborator

Chris00 commented May 28, 2018

mingw works.
msvc untested (one should enable appveyor for it and fix the problems).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants