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 83E5C7F2E5 for ; Tue, 8 Jan 2013 16:45:19 +0100 (CET) Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of gabriel.scherer@gmail.com) identity=pra; client-ip=209.85.214.43; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="gabriel.scherer@gmail.com"; x-sender="gabriel.scherer@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail1-smtp-roc.national.inria.fr: domain of gabriel.scherer@gmail.com designates 209.85.214.43 as permitted sender) identity=mailfrom; client-ip=209.85.214.43; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="gabriel.scherer@gmail.com"; x-sender="gabriel.scherer@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-bk0-f43.google.com) identity=helo; client-ip=209.85.214.43; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="gabriel.scherer@gmail.com"; x-sender="postmaster@mail-bk0-f43.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsABAH4+7FDRVdYrjWdsb2JhbAAqGqp3kloIFg4BAQEBCQkLCRIGI4IeAQEFQAEbEgsBAwwGBQsNDSEiAREBBQEKEgYTEodyAQMPDCyaZYwzgXGBCoUEChknAwpZhXYBBQyRCQOWDIEcjUwWKYQX X-IronPort-AV: E=Sophos;i="4.84,432,1355094000"; d="scan'208";a="188948063" Received: from mail-bk0-f43.google.com ([209.85.214.43]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 08 Jan 2013 16:45:19 +0100 Received: by mail-bk0-f43.google.com with SMTP id jf20so330911bkc.16 for ; Tue, 08 Jan 2013 07:45:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=M6z9/8St3p7mzF27fBGKFSdOSxZV54/3r4/0dukIMls=; b=wqUZ+/UtaqjPqkJ2kKFsh05lHkEaHkYObt123W7cuH9vNVXLpcWIJ01J9JHM7IxNzb zxnd2EXQUC9lAmyVFfK7tq+gJer6pOqVInw4ZPSbKSOPtBD4ad09r3G0S2IC6o0pKcIY zkD8xtnLhlFLLfkRfU8qHD9rEc46tcOzrLlbNyoxQqwTvX7bjPi8IPDTgvcbnH98C2T1 gLM/Vn2bdmycZvfihFSkXq2irfYNHQ145sauJ/QTv10oyALTyffGWDd0FvOhcGomEL6Y DxYpdLXNJt9IYdC13bz9BJsXUmO4+3ajtvcND3HHio+ZC1T3vzz/6lPk438XdKMnldln SeoQ== Received: by 10.204.150.137 with SMTP id y9mr31953731bkv.103.1357659918664; Tue, 08 Jan 2013 07:45:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.236.134 with HTTP; Tue, 8 Jan 2013 07:44:38 -0800 (PST) In-Reply-To: <50EC3CA8.3090106@strub.nu> References: <50EC3CA8.3090106@strub.nu> From: Gabriel Scherer Date: Tue, 8 Jan 2013 16:44:38 +0100 Message-ID: To: Pierre-Yves Strub Cc: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Caml-list] ocamlbuild / menhir with --infer / ocamlc options other than -I 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