[fpc-devel] Compiler directives in getopts unit

wkitty42 at windstream.net wkitty42 at windstream.net
Thu Jan 17 20:29:54 CET 2019


On 1/17/19 1:23 PM, Bart wrote:
> It seems this code at one time needed to be compilable with TP.
> AFAIK TP however does not support {$IF CONDITION} nor the Declared()
> macro(?), so the source should not be compilable anymore with TP?

if we set TP mode, what will happens if $IF is removed/changed?

i still have a lot of TP code here and some of it has been ported to FPC... some 
of that ported code has been recoded to use getopts which allow a lot of other 
code to be stripped out because getopts handles command line options much better...


-- 
  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list unless*
        *a signed and pre-paid contract is in effect with us.*



More information about the fpc-devel mailing list