[fpc-pascal] Checking the validity of Format and friends at compile-time
Michael Schnell
mschnell at lumino.de
Wed Oct 5 09:54:25 CEST 2016
On 05.10.2016 07:59, Sven Barth wrote:
> something like this definitely wouldn't become part of the compiler as
> that would mean an unnecessarily tight coupling between compiler and
> RTL not to mention that user code that uses "array of const" wouldn't
> necessarily benefit from it.
GNU C does check this when using printf() and friends, and rather
obviously the "array of const" is modeled after the C ellipse notation.
-Michael
More information about the fpc-pascal
mailing list