package ppx_disable_unused_warnings

All checked builds pass
  1. Overview
  2. Docs
Expands [@disable_unused_warnings] into [@warning "-20-26-32-33-34-35-36-37-38-39-60-66-67"]

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=af5dfa6bb51aa90f5c322ab4920fb46583cffc9460f583439afb2ef851310fbf

Description

Part of the Jane Street's PPX rewriters collection.

Added to opam-repository:

README

ppx_disable_unused_warnings

The @disable_unused_warnings annotation disables the many OCaml compiler warnings having to do with something being used (variable, constructor, declaration, open, rec keyword, etc.). It can be used at all three annotation scopes:

  • [@@@disable_unused_warnings]
  • [@@disable_unused_warnings]
  • [@disable_unused_warnings]

As of OCaml 4.10, it translates [@disable_unused_warnings] to:

[@@@warning "-26-27-32-33-34-35-36-37-38-39-60-66-67"]

Dependencies (4)

  1. ppxlib >= "0.28.0"
  2. dune >= "3.11.0"
  3. base >= "v0.17" & < "v0.18~"
  4. ocaml >= "5.1.0"

Dev Dependencies

None

Optional Dependencies

None

Used by (1)

  1. ppx_jane >= "v0.17.0"

Conflicts

None

Build status

Results of building ppx_disable_unused_warnings with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
v0.17.0 (this version) n/a n/a good good good
v0.16.0 n/a good good good good
v0.15.0 good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure