Skip to content

warnings-as-errors strikes again on 4.02dev #407

Description

@avsm

Arakoon fails to build because of warnings-as-errors on 4.02dev (where Strings are being moved towards immutability). Could this be disabled in release versions to make testing with a trunk compiler easier?

===== ERROR while installing arakoon.1.6.7 =====
# opam-version         1.1.1
# os                   linux
# command              make
# path                 /home/opam/.opam/4.02.0dev+trunk/build/arakoon.1.6.7
# compiler             4.02.0dev+trunk
# exit-code            2
# env-file             /home/opam/.opam/4.02.0dev+trunk/build/arakoon.1.6.7/arakoon-6272-2dea01.env
# stdout-file          /home/opam/.opam/4.02.0dev+trunk/build/arakoon.1.6.7/arakoon-6272-2dea01.out
# stderr-file          /home/opam/.opam/4.02.0dev+trunk/build/arakoon.1.6.7/arakoon-6272-2dea01.err
### stdout ###
# ...[truncated]
# ocamlfind ocamlc -c -g -annot -thread -warn-error A -pp camlp4of -package dynlink -package camltc -package str -package bz2 -package oUnit -package lwt.unix -package lwt.preemptive -package lwt -I src/plugins -I src -I doc -I src/msg -I src/tools -I src/system -I src/inifiles -I src/main -I src/paxos -I src/tlog -I src/nursery -I src/node -I src/client -I examples/ocaml -o src/plugins/registry.cmi src/plugins/registry.mli
# ocamlfind ocamlc -c -g -annot -thread -warn-error A -pp camlp4of -package dynlink -package camltc -package str -package bz2 -package oUnit -package lwt.unix -package lwt.preemptive -package lwt -pp 'camlp4of -loc loc logger_macro.cmo' -I src/tools -I src -I doc -I src/plugins -I src/msg -I src/system -I src/inifiles -I src/main -I src/paxos -I src/tlog -I src/nursery -I src/node -I src/client -I examples/ocaml -o src/tools/file_system.cmo src/tools/file_system.ml
# ocamlfind ocamlc -c -g -annot -thread -warn-error A -pp camlp4of -package dynlink -package camltc -package str -package bz2 -package oUnit -package lwt.unix -package lwt.preemptive -package lwt -pp 'camlp4of -loc loc logger_macro.cmo' -I src/paxos -I src -I doc -I src/plugins -I src/msg -I src/tools -I src/system -I src/inifiles -I src/main -I src/tlog -I src/nursery -I src/node -I src/client -I examples/ocaml -o src/paxos/mp_msg.cmo src/paxos/mp_msg.ml
# ocamlfind ocamlc -c -g -annot -thread -warn-error A -pp camlp4of -package dynlink -package camltc -package str -package bz2 -package oUnit -package lwt.unix -package lwt.preemptive -package lwt -pp 'camlp4of -loc loc logger_macro.cmo' -I src/node -I src -I doc -I src/plugins -I src/msg -I src/tools -I src/system -I src/inifiles -I src/main -I src/paxos -I src/tlog -I src/nursery -I src/client -I examples/ocaml -o src/node/store.cmo src/node/store.ml
# + ocamlfind ocamlc -c -g -annot -thread -warn-error A -pp camlp4of -package dynlink -package camltc -package str -package bz2 -package oUnit -package lwt.unix -package lwt.preemptive -package lwt -pp 'camlp4of -loc loc logger_macro.cmo' -I src/tools -I src -I doc -I src/plugins -I src/msg -I src/system -I src/inifiles -I src/main -I src/paxos -I src/tlog -I src/nursery -I src/node -I src/client -I examples/ocaml -o src/tools/file_system.cmo src/tools/file_system.ml
# File "src/tools/file_system.ml", line 84, characters 15-28:
# Warning 3: deprecated feature: String.create
# File "src/tools/file_system.ml", line 1:
# Error: Some fatal warnings were triggered (1 occurrences)
# Command exited with code 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions