Is there any way to quickly identify unused variables, procedures &
functions within a large project? I'm using FPC 3.0.0 with textmode IDE
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo
On Sat, 3 Sep 2016, James Richters wrote:
Is there any way to quickly identify unused variables, procedures &
functions within a large project? I'm using FPC 3.0.0 with textmode IDE
The compiler tells you this for local variables if you enable warnings
and/or hints.
Michael.
_
Thank you very much! I found how to enable warning and hints.. phew 87
unused variables have accumulated, this will clean things up greatly!
-Original Message-
From: fpc-pascal-boun...@lists.freepascal.org
[mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Michael Van
Canneyt
On Fr, 2016-09-02 at 15:03 -0700, fredvs wrote:
> Hello Marc.
>
> And thanks to help.
You're welcome.
[...]
> But when compiling on a FreeBSD 64 bit system using fpc-*linux-64*, there is
> that message on linking:
>
> [4.438] Searching file /bin/ld... found
> [4.438] Using util /bin/ld
> [4.43
Hello,
My question at title seems stupid, but the reason why I've get this doubt
is just because it get different results between Free Pascal and Delphi in
the following example:
=== begin code ===
program project1;
{$IFDEF FPC}
{$MODE DELPHI}
{$ENDIF}
{$IFDEF MSWINDOWS}
{$APPTYPE CONSOLE}