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

ocamlcp displays warnings twice #4028

vicuna opened this Issue May 21, 2006 · 1 comment


None yet
2 participants
Copy link

vicuna commented May 21, 2006

Original bug ID: 4028
Reporter: jderque
Assigned to: @damiendoligez
Status: closed (set by @damiendoligez on 2006-11-24T15:39:22Z)
Resolution: fixed
Priority: normal
Severity: tweak
Version: 3.09.2
Fixed in version: 3.09.4+dev / +rc
Category: ~DO NOT USE (was: OCaml general)

Bug description

ocamlcp displays both warnings from ocamlprof and ocamlc.
Since ocamlprof doesn't understand the -w flag, some warnings are still displayed even when passing the "-w a" option.

The attached patch does the following :

  • add the -w option support to ocamlprof ;
  • pass "-w a" to ocamlprof in ocamlcp to suppress additional warnings.

File attachments


This comment has been minimized.

Copy link
Collaborator Author

vicuna commented Nov 24, 2006

Comment author: @damiendoligez

fixed in 3.09 branch by disabling all warnings in ocamlprof

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.