From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id 436BC7F1DD for ; Fri, 11 Jan 2013 09:51:07 +0100 (CET) Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of pierre-yves@strub.nu) identity=pra; client-ip=88.191.144.85; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="pierre-yves@strub.nu"; x-sender="pierre-yves@strub.nu"; x-conformance=sidf_compatible Received-SPF: Pass (mail4-smtp-sop.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=mail4-smtp-sop.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 (mail4-smtp-sop.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=mail4-smtp-sop.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: AgEFANTR71BYv5BV/2dsb2JhbAAqGqsVkmUWc4IeAQEFODYKEQsYCQQSDwkDAgECATMSEwYCAQEOh3UDEwgsrXUDhmaNdoMpA5YKgRyET4pegnY X-IronPort-AV: E=Sophos;i="4.84,451,1355094000"; d="scan'208";a="168106847" Received: from dedibox.strub.nu ([88.191.144.85]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 11 Jan 2013 09:51:06 +0100 Received: from [10.10.17.55] (unknown [193.147.107.1]) by dedibox.strub.nu (Postfix) with ESMTPSA id D31F425BEB for ; Fri, 11 Jan 2013 09:50:50 +0100 (CET) Message-ID: <50EFD279.2000600@strub.nu> Date: Fri, 11 Jan 2013 09:51:05 +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 References: <50EC3CA8.3090106@strub.nu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] ocamlbuild / menhir with --infer / ocamlc options other than -I Hi, Issue PR#5763 is identical to my problem. Thanks, Pierre-Yves. On 01/08/2013 04:44 PM, Gabriel Scherer wrote: > Thanks for the report. > > I'm not quite sure but I believe this is similar to the issue PR#5763: > http://caml.inria.fr/mantis/view.php?id=5763 > > Could you check if the proposed patch solves your problem? > > If not, could you submit an issue on the bugtracker, hopefully with a > short example demonstrating the problem to make reproduction easier? > > On Tue, Jan 8, 2013 at 4:35 PM, Pierre-Yves Strub wrote: >> 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. >> >> -- >> Caml-list mailing list. Subscription management and archives: >> https://sympa.inria.fr/sympa/arc/caml-list >> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners >> Bug reports: http://caml.inria.fr/bin/caml-bugs