coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Ralf Jung <jung AT mpi-sws.org>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] batch compilation and warnings
- Date: Thu, 4 Feb 2016 10:00:33 +0100
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jung AT mpi-sws.org; spf=Pass smtp.mailfrom=jung AT mpi-sws.org; spf=None smtp.helo=postmaster AT hera.mpi-klsb.mpg.de
- Ironport-phdr: 9a23:NGOGnBGPntcvyBZq3N/iNJ1GYnF86YWxBRYc798ds5kLTJ75pM2wAkXT6L1XgUPTWs2DsrQf27WQ6vGrADZYqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aJBzzOEJPK/jvHcaK1oLsh7/0osyYOl8QzBOGIppMbzyO5T3LsccXhYYwYo0Q8TDu5kVyRuJN2GlzLkiSlRuvru25/Zpk7jgC86l5r50IAu3GePEzSqUdBzA7OUg04tfqvF/NV1ih/HwZB18flhQAIRXD41muXIr3vQP/rus4wzaBe8rsQuZnCnyZ8653RUqw2288PDkj/TSPhw==
Hi,
> I asked this question because this would be very useful to have such an
> option. If there is currently no way for batch compilation to print
> warnings, then consider this as a feature request. Such a feature is
> provided by compilers like gcc, ocamlc, etc. It helps maintaining and
> improving developments. It is especially useful for big ones. Each new
> release of Coq comes with new features but also with new warnings and
> deprecated constructions. Instead of discovering that a development
> breaks with a new release, printing warnings would enable users to
> anticipate changes and improve their developments. Currently, in Coq,
> warnings are discovered in interactive mode only. This makes impossible
> to locate warnings in big developments spread other many files that are,
> most of the time, run on batch mode only. So, would it be possible to
> include such an option in the next 8.5pl1?
I can second this, having warnings when running "make" would be helpful.
However, there also would have to be some work on which warnings are
printed. For example, when doing automation involving ssreflect's
"case", one often gets annoying warnings like "nothing to inject", which
are very hard to avoid in generic tactics. (Or maybe my ltac-foo is just
lacking.)
Other compilers typically allow choosing the set of printed warnings
being configurable via "-Wflag". That would be helpful, and probably
necessary, when enabling printing of warnings for batch compilation.
Kind regards,
Ralf
- [Coq-Club] batch compilation and warnings, Frédéric Blanqui, 02/03/2016
- Re: [Coq-Club] batch compilation and warnings, Frédéric Blanqui, 02/04/2016
- Re: [Coq-Club] batch compilation and warnings, Ralf Jung, 02/04/2016
- Re: [Coq-Club] batch compilation and warnings, Beta Ziliani, 02/04/2016
- Re: [Coq-Club] batch compilation and warnings, Ralf Jung, 02/04/2016
- Re: [Coq-Club] batch compilation and warnings, Ralf Jung, 02/04/2016
- Re: [Coq-Club] batch compilation and warnings, Frédéric Blanqui, 02/04/2016
Archive powered by MHonArc 2.6.18.