[fpc-devel] [Patch/RFC] Warnings for (in/over)complete case statements
Ralf Quint
freedos.la at gmail.com
Wed Jan 2 17:54:37 CET 2019
On 1/2/2019 2:18 AM, Sven Barth via fpc-devel wrote:
> Am Mi., 2. Jan. 2019, 09:44 hat Martok <listbox at martoks-place.de
> <mailto:listbox at martoks-place.de>> geschrieben:
>
> * in ISO mode, there are 2 solutions: in Standard Pascal, not
> covering the
> entire type is a compile-time error. In Extended Pascal, this is a
> runtime
> error. Which one is followed usually?
>
>
> ISO and Extended Pascal are handled as two separate modes by the
> compiler. So handling it according to the mode would probably be
> advisable.
+1
If someone wants to deliberately encumber themselves with using those
standards, this might seem like a great idea. In reality, not so much.
Ralf
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190102/423540a4/attachment.html>
More information about the fpc-devel
mailing list