Quantcast
Channel: OCaml - Topics tagged dune
Viewing all articles
Browse latest Browse all 539

Inconsistencies in dune Warnings

$
0
0

I have my dune-workspace configured with

 (dev
  (flags
   (:standard -warn-error +A-26-27-K-58))

It seems like dune is caching module builds with warnings so subsequent rebuilds aren’t showing warnings i.e. warnings are only showing the first time dune build is run. Also warnings seem to be printing twice:

dune build @ocaml-index @src/fmt --auto-promote src --profile dev
File "src/haz3lcore/statics/MakeTerm.re", line 331, characters 6-9:
331 |   let foo = 8;
            ^^^
Warning 26 [unused-var]: unused variable foo.
File "src/haz3lcore/statics/MakeTerm.re", line 331, characters 6-9:
331 |   let foo = 8;
            ^^^
Warning 26 [unused-var]: unused variable foo.
File "_none_", line 1:                   
Warning 58 [no-cmx-file]: no cmx file was found in path for module Ezjs_idb, and its interface was not compiled with -opaque

10 posts - 5 participants

Read full topic


Viewing all articles
Browse latest Browse all 539

Trending Articles