Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

papi is not compatible with OCaml 4.14 (Toploop.use_silently changed type) #25854

Merged
merged 1 commit into from May 13, 2024

Conversation

kit-ty-kate
Copy link
Member

Upstream PR: pqwy/ocaml-papi#2 cc @pqwy

#=== ERROR while compiling papi.0.1.1 =========================================#
# context              2.2.0~beta3~dev | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///home/opam/opam-repository
# path                 ~/.opam/5.1/.opam-switch/build/papi.0.1.1
# command              ~/.opam/5.1/bin/dune build -p papi -j 1
# exit-code            1
# env-file             ~/.opam/log/papi-19-a79fa7.env
# output-file          ~/.opam/log/papi-19-a79fa7.out
### output ###
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.papi_top.objs/byte -I /home/opam/.opam/5.1/lib/ocaml/compiler-libs -I src/.papi.objs/byte -no-alias-deps -o src/.papi_top.objs/byte/papi_top.cmo -c -impl src/papi_top.ml)
# File "src/papi_top.ml", line 4, characters 50-68:
# 4 | let _ = Toploop.use_silently Format.err_formatter "papi_top_init.ml"
#                                                       ^^^^^^^^^^^^^^^^^^
# Error: This expression has type string but an expression was expected of type
#          Toploop.input

@mseri mseri merged commit 1b563ea into ocaml:master May 13, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants