From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=DNS_FROM_RFC_POST, HTML_MESSAGE autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 26A69BC37 for ; Sat, 18 Jul 2009 01:18:07 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArQLAMOjYEpQDPJkW2dsb2JhbACCJS+WehcICwcSBrZRhAwFgUA X-IronPort-AV: E=Sophos;i="4.43,224,1246831200"; d="asc'?scan'208,217";a="33196575" Received: from smtp28.orange.fr ([80.12.242.100]) by mail1-smtp-roc.national.inria.fr with ESMTP; 18 Jul 2009 01:18:06 +0200 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2809.orange.fr (SMTP Server) with ESMTP id 246777000088 for ; Sat, 18 Jul 2009 01:18:06 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2809.orange.fr (SMTP Server) with ESMTP id 184FD7000089 for ; Sat, 18 Jul 2009 01:18:06 +0200 (CEST) Received: from [192.168.1.2] (LAubervilliers-153-53-1-14.w217-128.abo.wanadoo.fr [217.128.128.14]) by mwinf2809.orange.fr (SMTP Server) with ESMTP id DC13D7000088 for ; Sat, 18 Jul 2009 01:18:05 +0200 (CEST) X-ME-UUID: 20090717231805901.DC13D7000088@mwinf2809.orange.fr Subject: Ocamlfind with camlp4r. From: Serge Leblanc To: caml-list@yquem.inria.fr Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-FgyPY2NoeqPMib42OmZE" Date: Sat, 18 Jul 2009 01:18:09 +0200 Message-Id: <1247872689.4422.135.camel@serge2> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 X-Spam: no; 0.00; ocamlfind:01 camlp:01 ocamlfind:01 buf:01 buffer:01 buf:01 ocamlc:01 -pp:01 camlp:01 lib:01 ocamlc:01 -package:01 -linkpkg:01 expr:01 infix:01 X-Attachments: cset="utf-8" type="application/pgp-signature" name="signature.asc" --=-FgyPY2NoeqPMib42OmZE Content-Type: multipart/alternative; boundary="=-zkc3OQf74pI8dowd8MIi" --=-zkc3OQf74pI8dowd8MIi Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I don't understand what is wrong with Ocamlfind. Does someone can help me ? echo "value store buf s =3D do { Buffer.add_string buf s ; buf } ;" > test.ml ocamlc -o test -pp "camlp4r" -I +camlp4 camlp4lib.cma ./test.ml ocamlfind ocamlc -o test -package "camlp4" -linkpkg -syntax "camlp4r" ./test.ml File "./test.ml", line 1, characters 16-17: Parse error: [expr] expected after [infix operator (level 0) (comparison operators, and some others)] (in [expr]) Preprocessor error -- Serge Leblanc gpg --keyserver hkp://keyserver.ubuntu.com:11371 --recv-keys 0x33243C1B Fingerprint =3D 066C 005F 5595 D85C 7673 D969 1DD4 90C4 3324 3C1B --=-zkc3OQf74pI8dowd8MIi Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable I don't understand what is wrong with Ocamlfind. Does someone can help me ?=

echo "value store buf s =3D do { Buffer.add_string buf s ; buf } ;&quo= t; > test.ml
ocamlc -o test -pp "camlp4r" -I +camlp4 camlp4lib.cma ./test.ml ocamlfind ocamlc -o test -package "camlp4" -linkpkg  -syntax= "camlp4r" ./test.ml
File "./test.ml", line 1, characters 16-17:
Parse error: [expr] expected after [infix operator (level 0) (comparison op= erators, and some others)] (in [expr])
Preprocessor error

--
Serge Leblanc
gpg --keyserver  hkp://keyserver.ubuntu.com:11= 371 --recv-keys 0x33243C1B
Fingerprint =3D 066C 005F 5595 D85C 7673  D969= 1DD4 90C4 3324 3C1B
--=-zkc3OQf74pI8dowd8MIi-- --=-FgyPY2NoeqPMib42OmZE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkphBpsACgkQHdSQxDMkPBt1agCeOOVVSSbQ69uRYw6hZ6+AB3WC U8kAnjYCSCRdGIZeVuJ+CSJVzGzJQimx =WSTj -----END PGP SIGNATURE----- --=-FgyPY2NoeqPMib42OmZE--