From: Pierre-Yves Strub <pierre-yves@strub.nu>
To: caml-list@inria.fr
Subject: Re: [Caml-list] ocamlbuild / menhir with --infer / ocamlc options other than -I
Date: Fri, 11 Jan 2013 09:51:05 +0100 [thread overview]
Message-ID: <50EFD279.2000600@strub.nu> (raw)
In-Reply-To: <CAPFanBGLxSi67w4s=XqK+y-HBzi_KU0gzU9CKFC-O7cREd_nRg@mail.gmail.com>
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 <pierre-yves@strub.nu> 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
prev parent reply other threads:[~2013-01-11 8:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-08 15:35 Pierre-Yves Strub
2013-01-08 15:44 ` Gabriel Scherer
2013-01-11 8:51 ` Pierre-Yves Strub [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50EFD279.2000600@strub.nu \
--to=pierre-yves@strub.nu \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox