Bug 2435613

Summary: Review Request: ocaml-ppx-disable-unused-warnings - Defines [@disable_unused_warnings] for OCaml code
Product: [Fedora] Fedora Reporter: Jerry James <loganjerry>
Component: Package ReviewAssignee: Nobody's working on this, feel free to take it <nobody>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: package-review
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: https://github.com/janestreet/ppx_disable_unused_warnings
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jerry James 2026-01-30 23:20:07 UTC
Spec URL: https://jjames.fedorapeople.org/ocaml-ppx-disable-unused-warnings/ocaml-ppx-disable-unused-warnings.spec
SRPM URL: https://jjames.fedorapeople.org/ocaml-ppx-disable-unused-warnings/ocaml-ppx-disable-unused-warnings-0.17.0-1.fc44.src.rpm
Fedora Account System Username: jjames
Description: 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"]`

I am willing to swap reviews.

Comment 1 Fedora Review Service 2026-01-31 02:23:47 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/10082127
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2435613-ocaml-ppx-disable-unused-warnings/fedora-rawhide-x86_64/10082127-ocaml-ppx-disable-unused-warnings/fedora-review/review.txt

Found issues:

- No gcc, gcc-c++ or clang found in BuildRequires
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/C_and_C++/

Please know that there can be false-positives.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.