[fpc-pascal] Checking the validity of Format and friends at compile-time
pascaldragon at googlemail.com
Wed Oct 5 07:59:28 CEST 2016
Am 05.10.2016 04:33 schrieb "Michalis Kamburelis" <michalis.kambi at gmail.com
> I'm wondering if there is a tool that checks the correctness of calls
> to Format and friends (like Exception.CreateFmt) in your code. Or does
> someone plan to write one, as an external tool (like a "lint") or
> inside the FPC compiler:)
I don't know of any tool, but 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal