You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 384 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Original bug ID: 384
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Bryn Keller
Version: 3.01 (camlp4 3.01.5)
OS: NT4 (sp4), cygwin 1.3.2
Submission from: brk.jenkon-dev.com (209.210.37.31)
Both ocaml and camlp4 built from source, first with cygwin 1.1.8, then upgraded
to
cygwin 1.3.2 and rebuilt ocaml and camlp4, problem remains.
This program compiles fine:
open Unix
let timestamp t = string_of_int t.tm_year ^ "" ^ string_of_int t.tm_mon ^ "" ^
string_of_int t.tm_mday
But this one (same thing, but with revised syntax) crashes:
open Unix;
value timestamp t = string_of_int t.tm_year ^ "" ^ string_of_int t.tm_mon ^ ""
^ string_of_int t.tm_mday;
Here's a sample session:
Administrator@BRK /NextGen/src/magellan/src/ocaml
$ ocamlc timebugo.ml
Administrator@BRK /NextGen/src/magellan/src/ocaml
$ ocamlc -pp camlp4r timebug.ml
0 [main] ocamlc 346 open_stackdumpfile: Dumping stack trace to
ocamlrun.ex
e.stackdump
Segmentation fault (core dumped)
Administrator@BRK /NextGen/src/magellan/src/ocaml
$
The text was updated successfully, but these errors were encountered: