[fpc-pascal] Could someone explain me which the correct triggering of the BeforeDestruction method?

2016-09-03 Thread silvioprog
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}

Re: [fpc-pascal] Linking to Linux on a FreeBSD system with Linux emulated ?

2016-09-03 Thread Marc Santhoff
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

Re: [fpc-pascal] Finding Unsed Variable, Procedures, & Functions

2016-09-03 Thread James Richters
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

Re: [fpc-pascal] Finding Unsed Variable, Procedures, & Functions

2016-09-03 Thread Michael Van Canneyt
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. _

[fpc-pascal] Finding Unsed Variable, Procedures, & Functions

2016-09-03 Thread James Richters
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