[fpc-pascal] All methods vitrual ?

Martin Frb lazarus at mfriebe.de
Wed Oct 11 16:58:28 CEST 2023


On 11/10/2023 16:46, Adriaan van Os via fpc-pascal wrote:
> I don't see any use in allowing or disallowing something. And with the 
> current design, it is, as I said, impossible, without macros, to 
> compile the same code with {$M+} and {$M-}.

Use $IfOpt instead of macros?

{$IfOpt M+} published {$Else} public {$EndIf}


More information about the fpc-pascal mailing list