Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000016OCamlOCaml generalpublic1999-12-23 14:131999-12-23 14:15
Reporteradministrator 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
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: 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

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000291)
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


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker