caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Xavier Leroy <xavier.leroy@inria.fr>
To: "\"Dmitry Bely\" " <dbely@mail.ru>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] -unsafe and camlp4
Date: Tue, 8 Jul 2003 15:38:16 +0200	[thread overview]
Message-ID: <20030708153816.D19338@pauillac.inria.fr> (raw)
In-Reply-To: <E19Zru4-000Abq-00.dbely-mail-ru@f22.mail.ru>; from dbely@mail.ru on Tue, Jul 08, 2003 at 04:49:04PM +0400

> Can two things live together? When I run ocamlopt -unsafe -pp
> "camlp4 ..." ..., compiler prints warning and -unsafe seems to be
> ignored. Am I doing something wrong?

"-unsafe" is a parsing-time option: it governs how the .[] and .()
notations are parsed into applications of functions from the Array and
String modules.  Hence, if you use camlp4 for parsing, you should pass
the -unsafe option to camlp4, not to ocamlc/ocamlopt.

- Xavier Leroy

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2003-07-08 13:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-08 12:49 "Dmitry Bely" 
2003-07-08 13:38 ` Xavier Leroy [this message]
2003-07-08 15:38   ` [Caml-list] camlp4 Dmitry Bely
2003-07-22 11:14     ` Damien Doligez

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=20030708153816.D19338@pauillac.inria.fr \
    --to=xavier.leroy@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=dbely@mail.ru \
    /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).