[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Xavier Leroy <xavier.leroy@i...> |
| Subject: | Re: [Caml-list] -unsafe and camlp4 |
> 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