-
Notifications
You must be signed in to change notification settings - Fork 1.2k
build problems on mingw #2906
Description
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