coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Erkki Luuk <erkkil AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Command line flags for warnings
- Date: Tue, 7 Nov 2017 22:45:35 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=erkkil AT gmail.com; spf=Pass smtp.mailfrom=erkkil AT gmail.com; spf=None smtp.helo=postmaster AT mail-io0-f176.google.com
- Ironport-phdr: 9a23:AXJ6kxV9UG/GTHfjxVAmZjcoymzV8LGtZVwlr6E/grcLSJyIuqrYZRGHt8tkgFKBZ4jH8fUM07OQ6P+wHzFYqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aSV3DMl9+If2wEYrPhey20fqz8tvdeVZmnj24NJ5oLxa35SHMq8pe1YZ4KaUwzjPGp3JJf6JdwmY+dgHbpAr1+srlpM0ryC9Xof90r8M=
Thanks for the info.. (didn't solve my problem, though -- https://github.com/coq/coq/issues/6068#issuecomment-341942935)
Erkki
On Sun, Nov 5, 2017 at 1:16 PM, Théo Zimmermann <theo.zimmi AT gmail.com> wrote:
ThéoAnd if you use option -w "+local-declaration", you will see an error instead.Thus if you relaunch CoqIDE (or coqtop through Proof-General) with option -w "-local-declaration", you won't see any warning for the same buffer.The warning name is local-declaration and the category is scope.E.g. if you type "Variable A : Prop." in an empty buffer, you will see:Hi,Section 6.9.3 (https://coq.inria.fr/distrib/current/refman/vernacular.html#SetWarnings) also says "Adding - in front of a warning or category disables it, adding + makes it an error. It is possible to use the special categories all and default, the latter containing the warnings enabled by default."The warnings names and categories are displayed whenever you see such a warning (I ignore if there is a command to display all warning names or categories).
"A is declared as a local axiom [local-declaration,scope]"Le sam. 4 nov. 2017 à 23:27, Erkki Luuk <erkkil AT gmail.com> a écrit :HiWhere do I find the command line flags for warning names and categories? The manual just says:-w (all|none|w1,…,wn)Configure the display of warnings. This option expects all, none or a comma-separated list of warning names or categories (see Section 6.9.3).Erkki
- [Coq-Club] Command line flags for warnings, Erkki Luuk, 11/04/2017
- Re: [Coq-Club] Command line flags for warnings, Théo Zimmermann, 11/05/2017
- Re: [Coq-Club] Command line flags for warnings, Erkki Luuk, 11/07/2017
- Re: [Coq-Club] Command line flags for warnings, Christian Doczkal, 11/08/2017
- Re: [Coq-Club] Command line flags for warnings, Théo Zimmermann, 11/09/2017
- Re: [Coq-Club] Command line flags for warnings, Théo Zimmermann, 11/05/2017
Archive powered by MHonArc 2.6.18.