English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
partial application warning unreliable?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-12-08 (14:41)
From: Damien Doligez <damien.doligez@i...>
Subject: Re: [Caml-list] partial application warning unreliable?
On Dec 8, 2005, at 08:11, skaller wrote:

> BTW: the error flags documentation is very confusing:
>      A/a enable/disable all warnings
>      X/x enable/disable all other warnings
> other than what?

Other than [B-WYZ], obviously.  There's only so much you can write
in the on-line help message before people stop reading it altogether.

> I am using -w yz but STILL get
> warning X, unused function argument .. some of this
> happens in Frontc/CIL which I'm using and I would like
> to minimise patches.

Warnings are orthogonal: disabling Y and Z does not disable X.
It has no impact on X.

> BTW: what is this for?
>      S/s enable/disable non-unit statement

IIRC, it's for non-unit statements that are not partial applications.

> If I turn off F, will I get S instead?

Warnings are orthogonal: disabling F does not make you get more S
warnings.  It has no impact on S.

-- Damien