Re: [fpc-pascal] -CR Command line switch and Firebird.pas

2018-03-04 Thread Tony Whyman
Many thanks - not the most obvious of switch names - but it works. On 04/03/18 14:41, Jonas Maebe wrote: On 04/03/18 15:38, Tony Whyman wrote: Is there anyway of turning off the command line switch -CR (Verify object method call validity) on a per unit basis in the same way that -Cr (range ch

Re: [fpc-pascal] -CR Command line switch and Firebird.pas

2018-03-04 Thread Jonas Maebe
On 04/03/18 15:38, Tony Whyman wrote: Is there anyway of turning off the command line switch -CR (Verify object method call validity) on a per unit basis in the same way that -Cr (range checking) can be turned off using {$R-}? I can't see any such directive in the FPC documentation. {$OBJECTC

[fpc-pascal] -CR Command line switch and Firebird.pas

2018-03-04 Thread Tony Whyman
Is there anyway of turning off the command line switch -CR (Verify object method call validity) on a per unit basis in the same way that -Cr (range checking) can be turned off using {$R-}? I can't see any such directive in the FPC documentation. As the title suggests, I have a specific problem