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

Fix invalid doc-comments and inline attributes #87

Merged
merged 3 commits into from
May 7, 2023

Conversation

talex5
Copy link
Collaborator

@talex5 talex5 commented May 7, 2023

  • Comments need to go after the fields, not before.
  • Removed some inlining attributes; even flambda (with OCaml 5.0.0) complains about these now!
  • Fixed dependency on ounit2 (lower-bounds check was failing).

talex5 added 2 commits May 7, 2023 10:30
They need to go after the fields, not before.
The code uses ounit2.
@talex5 talex5 changed the title Fix invalid doc-comments Fix invalid doc-comments and inline attributes May 7, 2023
Even the flambda version of OCaml (5.0.0) complains about these now.
@talex5 talex5 merged commit 027c312 into capnproto:master May 7, 2023
@talex5 talex5 deleted the fix-comments branch May 7, 2023 10:59
talex5 added a commit to talex5/opam-repository that referenced this pull request Jul 19, 2023
CHANGES:

- Update README to talk about stdint, not uint (reported by @liyishuai).
  Also, remove out-of-date list of runtime packages needed. The build system can sort that out.

- Remove all `inlined` attributes (@talex5 capnproto/capnp-ocaml#87 capnproto/capnp-ocaml#88).
  These cause confusing compiler warnings for users, which can't be disabled automatically,
  and the inlining isn't being used anyway since capnproto/capnp-ocaml#83.

- Fix "Unknown interface" error (@talex5 capnproto/capnp-ocaml#85).
  It reported the UUID of the actual object, not the UUID that was requested.
  Also, add `Registry.pp_interface` for better error messages.

- Minor opam fixes (@talex5 capnproto/capnp-ocaml#84).
  Depend on dune >= 2.3 and don't try to build benchmarks; that only works on some platforms.

- Bump minimum OCaml version to 4.08.
  4.07 doesn't work due to janestreet/base#94.
nberth pushed a commit to nberth/opam-repository that referenced this pull request Jun 18, 2024
CHANGES:

- Update README to talk about stdint, not uint (reported by @liyishuai).
  Also, remove out-of-date list of runtime packages needed. The build system can sort that out.

- Remove all `inlined` attributes (@talex5 capnproto/capnp-ocaml#87 capnproto/capnp-ocaml#88).
  These cause confusing compiler warnings for users, which can't be disabled automatically,
  and the inlining isn't being used anyway since capnproto/capnp-ocaml#83.

- Fix "Unknown interface" error (@talex5 capnproto/capnp-ocaml#85).
  It reported the UUID of the actual object, not the UUID that was requested.
  Also, add `Registry.pp_interface` for better error messages.

- Minor opam fixes (@talex5 capnproto/capnp-ocaml#84).
  Depend on dune >= 2.3 and don't try to build benchmarks; that only works on some platforms.

- Bump minimum OCaml version to 4.08.
  4.07 doesn't work due to janestreet/base#94.
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

1 participant