Version française
Home     About     Download     Resources     Contact us    
Browse thread
Objective Caml 3.09 released
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Eijiro Sumii <eijiro.sumii@g...>
Subject: Re: [Caml-list] Objective Caml 3.09 released
> AFAIU, there are two warnings - "Y" for variables bound with let and "Z"
> for variables bound by pattern matching. By default, Y is enabled and Z
> is not. Use "ocamlc -wA" to enable all the warnings.

I see - thanks for the correction.

        Eijiro

> cat test2.ml
match 3 with x -> 5
> ocamlc -w A test2.ml -o /dev/null
File "test2.ml", line 1, characters 13-14:
Warning Z: unused variable x.