Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004483OCamlOCaml generalpublic2008-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


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker