You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 1646 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: -for Caml light use https://github.com/camllight/camllight/issues
Attempts to compile contrib/libunix under Linux Mandrake (my system is a
8.0/8.1/9.0 or something mix) and Debian 3.0 fail when compiling accept.c,
complaining about conflicting declarations for "memmove" in string.h. The cause
is that src/runtime/config.h #define's bcopy() as memmove() and then the system
include file "string.h" contains a prototype for bcopy(), which is expanded
erroneously to memmove().
A quick fix is to comment out the line "#define bcopy(src,dst,len) memmove(...)"
in config.h (the line just after "#ifdef HAS_MEMMOVE"). A cleaner fix is
probably cleaning up the Makefile but we'll leave that as an exercise for the
interested reader :-)
The text was updated successfully, but these errors were encountered:
Original bug ID: 1646
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: -for Caml light use https://github.com/camllight/camllight/issues
Bug description
Full_Name: Geert Vernaeve
Version: 0.75
OS: Mandrake, Debian
Submission from: ncgent02.telenet-ops.be (213.224.83.78)
Attempts to compile contrib/libunix under Linux Mandrake (my system is a
8.0/8.1/9.0 or something mix) and Debian 3.0 fail when compiling accept.c,
complaining about conflicting declarations for "memmove" in string.h. The cause
is that src/runtime/config.h #define's bcopy() as memmove() and then the system
include file "string.h" contains a prototype for bcopy(), which is expanded
erroneously to memmove().
A quick fix is to comment out the line "#define bcopy(src,dst,len) memmove(...)"
in config.h (the line just after "#ifdef HAS_MEMMOVE"). A cleaner fix is
probably cleaning up the Makefile but we'll leave that as an exercise for the
interested reader :-)
The text was updated successfully, but these errors were encountered: