ppx_cstubs
ppx_cstubs copied to clipboard
[Minor] Warning while compiling ppx_cstubs in OCaml 4.14
The following warning is issued when compiling on OCaml 4.14 (revision 638b019ab5eb0d8a187710d00414a1 -- i.e. release 0.7.0 )
$ dune b
File "src/internal/ppx_main.ml", lines 280-286, characters 6-7:
280 | ......{
281 | pcd_name;
282 | pcd_args = Pcstr_tuple [];
283 | pcd_res = None;
284 | pcd_loc = _;
285 | pcd_attributes;
286 | }............
Error (warning 9 [missing-record-field-pattern]): the following labels are not bound in this record pattern:
pcd_vars
Either bind these labels explicitly or add '; _' to the pattern.
When building with $ dune b --profile=release
this warning does not appear.