[fpc-pascal] Checking the validity of Format and friends at compile-time

Marco van de Voort marcov at stack.nl
Thu Oct 6 09:03:35 CEST 2016

In our previous episode, Michael Schnell said:
> > 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.

But array of const is safe, and C's isn't, which is why C compilers routinely
check it.

More information about the fpc-pascal mailing list