[fpc-devel] Compiler directives in getopts unit

Sven Barth pascaldragon at googlemail.com
Fri Jan 18 07:25:16 CET 2019


Am 18.01.2019 um 00:06 schrieb Michael Van Canneyt:
>
>>
>> As for the {$IF not Declared(Argv)} part: does that apply to a target
>> that FPC supports or is also there just to be able to compile it with
>> Delphi?
>>
>> If we keep it, then at least the comments should be updated.
>
> You can make the unit FPC only if you wish.
I just checked the logs: the unit had been explicitely made Delphi 
compatible by adding the check for argv. So maybe we shouldn't just 
throw that one out of the window... (TP compatibility is a different topic)

Regards,
Sven



More information about the fpc-devel mailing list