From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by sympa.inria.fr (Postfix) with ESMTPS id 364AF7F2E5 for ; Tue, 8 Jan 2013 16:35:06 +0100 (CET) Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of pierre-yves@strub.nu) identity=pra; client-ip=88.191.144.85; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="pierre-yves@strub.nu"; x-sender="pierre-yves@strub.nu"; x-conformance=sidf_compatible Received-SPF: Pass (mail1-smtp-roc.national.inria.fr: domain of pierre-yves@strub.nu designates 88.191.144.85 as permitted sender) identity=mailfrom; client-ip=88.191.144.85; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="pierre-yves@strub.nu"; x-sender="pierre-yves@strub.nu"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: Pass (mail1-smtp-roc.national.inria.fr: domain of postmaster@dedibox.strub.nu designates 88.191.144.85 as permitted sender) identity=helo; client-ip=88.191.144.85; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="pierre-yves@strub.nu"; x-sender="postmaster@dedibox.strub.nu"; x-conformance=sidf_compatible; x-record-type="v=spf1" X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmwGAJY77FBYv5BV/2dsb2JhbABEgy4uuX0Wc4JdQD0WGAMCAQIBWAgBAYgXmCWREY09jWyDKQOWDIVril6CdQ X-IronPort-AV: E=Sophos;i="4.84,432,1355094000"; d="scan'208";a="188945974" Received: from dedibox.strub.nu ([88.191.144.85]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 08 Jan 2013 16:35:05 +0100 Received: from [10.10.17.55] (unknown [193.147.107.1]) by dedibox.strub.nu (Postfix) with ESMTPSA id EE08C24EF5 for ; Tue, 8 Jan 2013 16:34:51 +0100 (CET) Message-ID: <50EC3CA8.3090106@strub.nu> Date: Tue, 08 Jan 2013 16:35:04 +0100 From: Pierre-Yves Strub User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Caml-list] ocamlbuild / menhir with --infer / ocamlc options other than -I Hi, I have a parser that opens a module compiled with -rectypes. Although I added the rectypes tags (true: rectypes) to my ocamlbuild configuration, ocamlbuild does not add the -rectypes flag to the --ocamlc command given to menhir. From the source code (ocaml_tools.menhir), it seems that only the include flags are passed to the --ocamlc command: Cmd(S[menhir; A"--ocamlc"; Quote(S[!Options.ocamlc; ocaml_include_flags mly]); T(tags_of_pathname mly++"ocaml"++"parser"++"menhir"); A"--infer"; Px mly]) Bests, Pierre-Yves.