Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000016OCaml~DO NOT USE (was: OCaml general)public1999-12-23 14:131999-12-23 14:15
Assigned To 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000016: ocaml-2.99 on AIX4.3 (32bit)
DescriptionFull_Name: Daniel Ortmann
Version: 2.99
OS: AIX 4.3
Submission from: (
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

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
administrator (administrator)
1999-12-23 14:15

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.

- Issue History
Date Modified Username Field Change
2005-11-18 10:13 administrator New Issue
2017-02-23 16:36 doligez Category OCaml general => -OCaml general
2017-03-03 17:55 doligez Category -OCaml general => -(deprecated) general
2017-03-03 18:01 doligez Category -(deprecated) general => ~deprecated (was: OCaml general)
2017-03-06 17:04 doligez Category ~deprecated (was: OCaml general) => ~DO NOT USE (was: OCaml general)

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker