Warning 52: Code should not depend on the actual values of this constructor's arguments.

Issue #47 new
Kristian Fiskerstrand
created an issue

This is triggered for development branch due to warning to error, logging for later fix:

Lbdb -dtypes -warn-error A -inline 40 unix.cmxa str.cmxa bdb.cmxa nums.cmxa bigarray.cmxa /usr/lib64/ocaml/cryptokit/cryptokit.cmxa -c stats.ml File "stats.ml", line 160, characters 19-42: Warning 52: Code should not depend on the actual values of this constructor's arguments. They are only for information and may change in future versions. (See manual section 8.5) File "stats.ml", line 1: Error: Some fatal warnings were triggered (1 occurrences) make: *** [Makefile:366: stats.cmx] Error 2

Comments (2)

  1. Kristian Fiskerstrand reporter

    $ grep -B1 "Warning 52" /tmp/sks.log

    File "stats.ml", line 160, characters 19-42: Warning 52: Code should not depend on the actual values of --

    File "recvmail.ml", line 58, characters 18-34: Warning 52: Code should not depend on the actual values of

    -- File "dbserver.ml", line 339, characters 35-66: Warning 52: Code should not depend on the actual values of

    -- File "dbserver.ml", line 344, characters 35-55: Warning 52: Code should not depend on the actual values of

    -- File "none", line 1: Warning 52: Code should not depend on the actual values of

    Now, the question is whether we should modify the behavior of Failure with string to raise specific exceptions; in the membership case it seems we only have one exception condition anyways.

  2. Log in to comment