caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: David Fox <dsfox@cogsci.ucsd.edu>
To: Brian Rogoff <bpr@best.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] ocaml VM segfault
Date: Tue, 3 Apr 2001 10:33:22 -0700 (PDT)	[thread overview]
Message-ID: <15050.2402.55288.279610@hci.ucsd.edu> (raw)
In-Reply-To: <Pine.BSF.4.21.0104031020470.6163-100000@shell5.ba.best.com>

Oh drat, the problem doesn't occur with the distribution RPMs, only
with the ones I rebuilt from source.  Maybe a glibc header file thing.

Brian Rogoff writes:
 > Which platform? Compiled and ran fine for me on Solaris. Of course, it
 > doesn't really do anything :-)
 > 
 > -- Brian
 > 
 > On 3 Apr 2001, David Fox wrote:
 > 
 > > The following program segfaults when I compile it with ocamlc version 3.01:
 > > 
 > >   type 'a declarator = {ml: string; t: 'a}
 > >   
 > >   type 'a cdecl =
 > >       Declare of 'a declarator
 > >     | Macro of 'a declarator
 > >   
 > >   type ctype = String | Char
 > >   
 > >   let caml_code decl =
 > >     match decl with
 > >       (Declare {ml=mname; t=ctype} | Macro {ml=mname; t=ctype}) ->
 > >         match ctype with String -> mname
 > >         | _ -> ""
 > >   
 > >   let _ = caml_code (Declare {ml="getenv"; t=String})
 > > -------------------
 > > To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr
 > > 

--
David Fox            http://hci.ucsd.edu/dsf		xoF divaD
UCSD HCI Lab          dsfox@cogsci.ucsd.edu          baL ICH DSCU
-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr


  parent reply	other threads:[~2001-04-03 17:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-03 17:08 David Fox
     [not found] ` <Pine.BSF.4.21.0104031020470.6163-100000@shell5.ba.best.com>
2001-04-03 17:33   ` David Fox [this message]
2001-04-03 18:28     ` Luc Maranget

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15050.2402.55288.279610@hci.ucsd.edu \
    --to=dsfox@cogsci.ucsd.edu \
    --cc=bpr@best.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).