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

ocaml-2.99 on AIX4.3 (32bit) #2345

Closed
vicuna opened this issue Dec 23, 1999 · 1 comment
Closed

ocaml-2.99 on AIX4.3 (32bit) #2345

vicuna opened this issue Dec 23, 1999 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Dec 23, 1999

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

Bug description

Full_Name: Daniel Ortmann
Version: 2.99
OS: AIX 4.3
Submission from: aspirateur.inria.fr (128.93.8.116)
Submitted by: doligez

I get this message in ocaml-2.99/byterun/minor_gc.c at line 145:
"minor_gc.c", line 145.3: 1506-196 (S)Initialization between types "void*"
and "int" is not allowed.
It also happens in alloc.c at line 106 and in lots of other places.

I if cc is used instead of c89 then it compiles. I finally added (void *)
to the left hand side of various defines such as 'CAMLxparam1' in memory.h

@vicuna
Copy link
Author

vicuna commented Dec 23, 1999

Comment author: administrator

This is corrected now. You just have to replace "void *caml__dummy" with
"int caml__dummy" and NULL with 0 in all the CAMLxparam macros in memory.h.

Type doesn't matter, this is only a dummy variable.

@vicuna vicuna closed this as completed Dec 23, 1999
@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