* [Caml-list] -warn-error question
@ 2012-10-30 11:00 Richard W.M. Jones
2012-10-30 11:09 ` Richard W.M. Jones
0 siblings, 1 reply; 4+ messages in thread
From: Richard W.M. Jones @ 2012-10-30 11:00 UTC (permalink / raw)
To: caml-list
Why does this disable warning 23:
-warn-error -23+CDEFLMPSUVYZX
whereas this seems not to have any effect on warning 23:
-warn-error CDEFLMPSUVYZX-23
Rich.
--
Richard Jones
Red Hat
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] -warn-error question
2012-10-30 11:00 [Caml-list] -warn-error question Richard W.M. Jones
@ 2012-10-30 11:09 ` Richard W.M. Jones
2012-10-30 11:45 ` Alain Frisch
0 siblings, 1 reply; 4+ messages in thread
From: Richard W.M. Jones @ 2012-10-30 11:09 UTC (permalink / raw)
To: caml-list
On Tue, Oct 30, 2012 at 11:00:28AM +0000, Richard W.M. Jones wrote:
>
> Why does this disable warning 23:
>
> -warn-error -23+CDEFLMPSUVYZX
>
> whereas this seems not to have any effect on warning 23:
>
> -warn-error CDEFLMPSUVYZX-23
But wait! Neither disables warning 23, or there's something
stochastic going on.
What's the correct syntax to change my current warn-error:
-warn-error CDEFLMPSUVYZX
into one which is exactly the same except that warning 23 is ignored?
Rich.
--
Richard Jones
Red Hat
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] -warn-error question
2012-10-30 11:09 ` Richard W.M. Jones
@ 2012-10-30 11:45 ` Alain Frisch
2012-10-30 11:54 ` Richard W.M. Jones
0 siblings, 1 reply; 4+ messages in thread
From: Alain Frisch @ 2012-10-30 11:45 UTC (permalink / raw)
To: Richard W.M. Jones; +Cc: caml-list
-warn-error controls which warnings are turned into errors. If you want
to simply disable warning 23, you can add "-w -23".
-- Alain
On 10/30/2012 12:09 PM, Richard W.M. Jones wrote:
> On Tue, Oct 30, 2012 at 11:00:28AM +0000, Richard W.M. Jones wrote:
>>
>> Why does this disable warning 23:
>>
>> -warn-error -23+CDEFLMPSUVYZX
>>
>> whereas this seems not to have any effect on warning 23:
>>
>> -warn-error CDEFLMPSUVYZX-23
>
> But wait! Neither disables warning 23, or there's something
> stochastic going on.
>
> What's the correct syntax to change my current warn-error:
>
> -warn-error CDEFLMPSUVYZX
>
> into one which is exactly the same except that warning 23 is ignored?
>
> Rich.
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] -warn-error question
2012-10-30 11:45 ` Alain Frisch
@ 2012-10-30 11:54 ` Richard W.M. Jones
0 siblings, 0 replies; 4+ messages in thread
From: Richard W.M. Jones @ 2012-10-30 11:54 UTC (permalink / raw)
To: Alain Frisch; +Cc: caml-list
On Tue, Oct 30, 2012 at 12:45:18PM +0100, Alain Frisch wrote:
> -warn-error controls which warnings are turned into errors. If you
> want to simply disable warning 23, you can add "-w -23".
Thanks. In fact it turns out that 'X' includes warning 23 already.
By removing X from the list and replacing it with the set of warnings
that X includes, less 23, I was able to make it work.
Rich.
--
Richard Jones
Red Hat
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-10-30 11:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-30 11:00 [Caml-list] -warn-error question Richard W.M. Jones
2012-10-30 11:09 ` Richard W.M. Jones
2012-10-30 11:45 ` Alain Frisch
2012-10-30 11:54 ` Richard W.M. Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox