coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jeehoon Kang <jeehoon.kang AT sf.snu.ac.kr>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Can useless warnings be switched off?
- Date: Wed, 3 Aug 2016 18:46:39 +0900
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jeehoon.kang AT sf.snu.ac.kr; spf=None smtp.mailfrom=jeehoon.kang AT sf.snu.ac.kr; spf=None smtp.helo=postmaster AT mail-io0-f176.google.com
- Ironport-phdr: 9a23:9As7yhAsdxBJwlnEd+HgUyQJP3N1i/DPJgcQr6AfoPdwSP74oMbcNUDSrc9gkEXOFd2CrakV06yJ4uu5AjZIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TWM5DIfUi/yKRBybrysXNWD14LohqvroMebSj4LrQL1Wal1IhSyoFeZnegtqqwmFJwMzADUqGBDYeVcyDAgD1uSmxHh+pX4p8Y7oGwD884mosVHSODxe7kyZb1eFjUvdW4vt+PxshyWbwaC5nwbVC01mxxHS1zH4Rz6WZD39CjzsOVVwyfcJsvrC7k/Hze4ufQ4ACT0gTsKYmZquFrcjdZ92fpW
Dear Ralf,
I also wonder if how I can check which of camlp4 or camlp5 is used in my Coq binary.. But if you installed Coq via opam or from tarball, it is highly likely that your Coq uses camlp5. It is the default option.
Note that you can `opam install coq.8.5.2~camlp4` to obtain the camlp4-based version of Coq.
Jeehoon
2016-08-03 18:37 GMT+09:00 Ralf Jung <jung AT mpi-sws.org>:
Hi,
> Those warnings are not produced by Coq, but rather by CAMLP4/5, and
> therefore the warning mechanism is useless here.
>
> Warnings cannot be turned off in CAMLP4 because the relevant API has
> been missing for ages, whereas it is possible in CAMLP5 (if they appear
> in Coq otherwise it's a bug, and it may well be one in your example). In
> any case, I advise you to switch to CAMLP5 if you didn't do so already.
It seems I have both CAMLP4 and CAMLP5 installed. How can I tell which
one Coq is using? "coqc --version" only shows the ocaml version:
> $ coqc --version
> The Coq Proof Assistant, version 8.5pl2 (July 2016)
> compiled on Jul 21 2016 11:30:45 with OCaml 4.02.3
Kind regards,
Ralf
- [Coq-Club] Can useless warnings be switched off?, Chris Dams, 08/01/2016
- Re: [Coq-Club] Can useless warnings be switched off?, Jason Gross, 08/01/2016
- Re: [Coq-Club] Can useless warnings be switched off?, Chris Dams, 08/02/2016
- Re: [Coq-Club] Can useless warnings be switched off?, Pierre-Marie Pédrot, 08/03/2016
- Re: [Coq-Club] Can useless warnings be switched off?, Ralf Jung, 08/03/2016
- Re: [Coq-Club] Can useless warnings be switched off?, Jeehoon Kang, 08/03/2016
- Re: [Coq-Club] Can useless warnings be switched off?, Ralf Jung, 08/03/2016
- RE: [Coq-Club] Can useless warnings be switched off?, Soegtrop, Michael, 08/03/2016
- Re: [Coq-Club] Can useless warnings be switched off?, Matej Kosik, 08/03/2016
- Re: [Coq-Club] Can useless warnings be switched off?, Frédéric Besson, 08/03/2016
- Re: [Coq-Club] Can useless warnings be switched off?, Ralf Jung, 08/04/2016
- Re: [Coq-Club] Can useless warnings be switched off?, Chris Dams, 08/18/2016
- Re: [Coq-Club] Can useless warnings be switched off?, Ralf Jung, 08/03/2016
- Re: [Coq-Club] Can useless warnings be switched off?, Jeehoon Kang, 08/03/2016
- Re: [Coq-Club] Can useless warnings be switched off?, Ralf Jung, 08/03/2016
- Re: [Coq-Club] Can useless warnings be switched off?, Pierre-Marie Pédrot, 08/03/2016
- Re: [Coq-Club] Can useless warnings be switched off?, Chris Dams, 08/02/2016
- Re: [Coq-Club] Can useless warnings be switched off?, Jason Gross, 08/01/2016
Archive powered by MHonArc 2.6.18.