| Anonymous | Login | Signup for a new account | 2013-06-20 13:45 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0004483 | OCaml | OCaml general | public | 2008-01-20 20:15 | 2008-01-22 12:07 | |||
| Reporter | db | |||||||
| Assigned To | ||||||||
| Priority | normal | Severity | major | Reproducibility | always | |||
| Status | closed | Resolution | fixed | |||||
| Platform | OS | OS Version | ||||||
| Product Version | 3.10.1 | |||||||
| Target Version | Fixed in Version | 3.10+dev | ||||||
| Summary | 0004483: Ocaml 3.10.1 doesn't compile with MSVC under Windows | |||||||
| Description | make[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. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships |
||||||
|
||||||
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 |