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

build problems on mingw #2906

Closed
vicuna opened this issue Jul 6, 2004 · 1 comment
Closed

build problems on mingw #2906

vicuna opened this issue Jul 6, 2004 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Jul 6, 2004

Original bug ID: 2906
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Christoph Bauer
Version: 308-cvs
OS: Windows/Cygwin
Submission from: 212.43.68.201 (212.43.68.201)

in startocaml.c _get_osfhandle returns a int, in io.h
_get_osfhandle returns a long.

Here is the log:

cd win32caml ; make all
make[1]: Entering directory /cygdrive/c/bauer/ocaml-mingw/ocaml/win32 gcc -mno-cygwin -O -mms-bitfields -Wall -Wno-unused -c startocaml.c In file included from inria.h:63, from startocaml.c:24: editbuffer.h:47:7: Warnung: no newline at end of file In file included from inria.h:64, from startocaml.c:24: history.h:35:7: Warnung: no newline at end of file startocaml.c:25: error: conflicting types for _get_osfhandle'
/usr/i686-pc-mingw32/include/io.h:197: error: previous declaration of
startocaml.c: In function StartOcaml': startocaml.c:337: Warnung: passing arg 3 of CreateThread' from incomp
startocaml.c: In function InterruptOcaml': startocaml.c:367: Warnung: int format, DWORD arg (arg 3) make[1]: *** [startocaml.o] Fehler 1 make[1]: Leaving directory /cygdrive/c/bauer/ocaml-mingw/ocaml/win32c
make: *** [win32gui] Fehler 2

@vicuna
Copy link
Author

vicuna commented Jul 6, 2004

Comment author: administrator

Fixed 2004-07-06 by XL

@vicuna vicuna closed this as completed Jul 6, 2004
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant