caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Alain Frisch <alain.frisch@lexifi.com>
To: Matej Kosik <5764c029b688c1c0d24a2e97cd764f@gmail.com>,
	caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] a question about annotations
Date: Tue, 17 Nov 2015 13:21:17 +0100	[thread overview]
Message-ID: <564B1BBD.7050308@lexifi.com> (raw)
In-Reply-To: <564B14B0.3020306@gmail.com>

On 17/11/2015 12:51, Matej Kosik wrote:
> Dear Ocaml users,
>
> A few days ago there was a question about how to disable a specific warning in a specific location
> and the answer was to use
>
> 	[@warning "-<num>"]
>
> annotation.

There is also the "structure item"-level form:

[@@@warning "..."]

which changes warning settings (for the rest of the current structure).

"Unused warnings" depend on the warning settings active where the item 
is defined.


Alain

      parent reply	other threads:[~2015-11-17 12:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-17 11:51 Matej Kosik
2015-11-17 12:11 ` Gabriel Scherer
2015-11-17 12:20 ` octachron
2015-11-17 12:21 ` Alain Frisch [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=564B1BBD.7050308@lexifi.com \
    --to=alain.frisch@lexifi.com \
    --cc=5764c029b688c1c0d24a2e97cd764f@gmail.com \
    --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;
as well as URLs for NNTP newsgroup(s).