From: Christophe Raffalli <christophe@raffalli.eu>
To: "Nicolás Ojeda Bär" <nicolas.ojeda.bar@lexifi.com>
Cc: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: Re: [Caml-list] functor inlining
Date: Fri, 15 Jan 2021 08:05:22 -0900 [thread overview]
Message-ID: <YAHLUpoiT/5wjOLH@oulala> (raw)
In-Reply-To: <PR0P264MB0700E08AE137AFBA280E58B7C3A70@PR0P264MB0700.FRAP264.PROD.OUTLOOK.COM>
[-- Attachment #1: Type: text/plain, Size: 683 bytes --]
Le 21-01-15 07:43:39, Nicolás Ojeda Bär a écrit :
> Dear Christophe,
>
> You can disable the use of "-opaque" by always compiling in the release
> profile, either by passing "--profile release" on the command line or by adding
> (profile release) to the dune-workspace file.
Thanks,
I finally use
(env
(dev (flags :standard -warn-error -55)
(ocamlopt_flags :standard -warn-error -55 -inline 50000 -O3))
....)
in my dune file. But I submitted an issue and suggest -warn-error -55
as default for the dev profile. This makes sure compilation works for both
profiles or fails for both.
Cheers,
Christophe
> Hope that helps,
> Nicolas
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
prev parent reply other threads:[~2021-01-15 17:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-14 21:31 Christophe Raffalli
2021-01-14 21:41 ` Christophe Raffalli
2021-01-15 3:57 ` Christophe Raffalli
2021-01-15 7:43 ` Nicolás Ojeda Bär
2021-01-15 17:05 ` Christophe Raffalli [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=YAHLUpoiT/5wjOLH@oulala \
--to=christophe@raffalli.eu \
--cc=caml-list@inria.fr \
--cc=nicolas.ojeda.bar@lexifi.com \
/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