Hi all,
I am looking for an open source linter tool to use on FPC projects. A quick
google search didn't yield anything specific. Hoping someone here can help me
further.
TIA
Darius
Verstuurd vanaf mijn iPhone
___
fpc-pascal maillist - fpc-pascal
Am 04.03.2018 um 18:45 schrieb Sven Barth via fpc-pascal:
On 04.03.2018 18:06, Bernd Oppolzer wrote:
Are procedure and function parameters allowed in Free Pascal?
When I tried to compile the Man-or-boy example program (Knuth's test),
FPC complained with a syntax error:
c:\work\pascal\work>fp
In our previous episode, Bernd Oppolzer said:
>
> function A ( K : INTEGER ; function X1 : INTEGER ; function X2 :
> ?? INTEGER ; function X3 : INTEGER ; function X4 : INTEGER ;
> ?? function X5 : INTEGER ) : INTEGER ;
This is not valid in a Borland derived dialect. Use mode ISO
On 04.03.2018 18:06, Bernd Oppolzer wrote:
> Are procedure and function parameters allowed in Free Pascal?
>
> When I tried to compile the Man-or-boy example program (Knuth's test),
> FPC complained with a syntax error:
>
>
> c:\work\pascal\work>fpc manorboy.pas
> Free Pascal Compiler version 3.
Are procedure and function parameters allowed in Free Pascal?
When I tried to compile the Man-or-boy example program (Knuth's test),
FPC complained with a syntax error:
c:\work\pascal\work>fpc manorboy.pas
Free Pascal Compiler version 3.0.0 [2015/11/16] for i386
Copyright (c) 1993-2015 by Flori
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
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
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