diff options
| author | Gaëtan Gilbert | 2017-05-28 13:34:42 +0200 |
|---|---|---|
| committer | Gaëtan Gilbert | 2017-05-28 20:00:47 +0200 |
| commit | b30a6b141fed01a62330051bfb92c19564c93215 (patch) | |
| tree | ec73a2a0daf06891572f8117dc42978f1b2e7396 /lib/cString.mli | |
| parent | c53bc951c39b9d4ebcee0128c452fce7c8e4f92f (diff) | |
Fail on deprecated warning even for Ocaml > 4.02.3
Deprecations which can't be fixed in 4.02.3 are locally wrapped with
[@@@ocaml.warning "-3"]. The only ones encountered are
- capitalize to capitalize_ascii and variants. Changing to ascii would
break coqdoc -latin1 and maybe other things though.
- external "noalloc" to external [@@noalloc]
Diffstat (limited to 'lib/cString.mli')
| -rw-r--r-- | lib/cString.mli | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/cString.mli b/lib/cString.mli index 65edfbbe68..b30f26abe7 100644 --- a/lib/cString.mli +++ b/lib/cString.mli @@ -14,7 +14,10 @@ sig include S (** We include the standard library *) + [@@@ocaml.warning "-3"] (* [@@noalloc] since 4.03.0 GPR#240 *) external equal : string -> string -> bool = "caml_string_equal" "noalloc" + [@@@ocaml.warning "+3"] + (** Equality on strings *) val hash : string -> int |
