Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004483OCaml~DO NOT USE (was: OCaml general)public2008-01-20 20:152008-01-22 12:07
Reporterdb 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version3.10.1 
Target VersionFixed in Version3.10+dev 
Summary0004483: Ocaml 3.10.1 doesn't compile with MSVC under Windows
Descriptionmake[1]: Entering directory `/cygdrive/d/Work/ocaml/ocaml-3.10.1/byterun'
cl /nologo -D_CRT_SECURE_NO_DEPRECATE -DIN_OCAMLRUN -DOCAML_STDLIB_DIR='"D:/ocam
lms/lib"' /Ox /MD -DCAML_DLL -c finalise.c
finalise.c
finalise.c(89) : error C2143: syntax error : missing ';' before 'type'
finalise.c(90) : error C2065: 'fv' : undeclared identifier
make[1]: *** [finalise.d.obj] Error 2

This is because you depend on GCC entension that (as well ac C++) allows a variable definition to appear anywhere in the block. Standard ANSI C which MSVC follows just prohibits that.
TagsNo tags attached.
Attached Files

- Relationships
duplicate of 0004480closed Irix compiler rejects byterun/finalise.c 

-  Notes
(0004425)
doligez (administrator)
2008-01-22 12:07

fixed in 3.10.2+dev1

- Issue History
Date Modified Username Field Change
2008-01-20 20:15 db New Issue
2008-01-22 12:06 doligez Relationship added duplicate of 0004480
2008-01-22 12:07 doligez Note Added: 0004425
2008-01-22 12:07 doligez Status new => closed
2008-01-22 12:07 doligez Resolution open => fixed
2008-01-22 12:07 doligez Fixed in Version => 3.10+dev
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