Re: [fpc-pascal] compilation feeback

2010-04-30 Thread Jonas Maebe
On 30 Apr 2010, at 10:51, spir ☣ wrote: Isnt't it possible to switch off specific (types of) ld warnings? As far as I know, it is not. Jonas___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fp

Re: [fpc-pascal] compilation feeback

2010-04-30 Thread spir ☣
On Fri, 30 Apr 2010 09:51:44 +0200 Jonas Maebe wrote: > > On 30 Apr 2010, at 09:40, spir ☣ wrote: > > > -1- "local" variable > > When a program-global variable is unused, the compiler message reads > > 'Note: Local variable "x" not used'. > > Is this a mistake or do I misunderstand some point

Re: [fpc-pascal] compilation feeback

2010-04-30 Thread spir ☣
On Fri, 30 Apr 2010 09:52:44 +0200 Graeme Geldenhuys wrote: > > '/use/bin/ld: warning: link.res contains output sections; did you forget > > -T?' > > What does this mean? > > I get this often, and also don't have a clue what it means. Yet our > applications still seem to run fine. Go figure??

Re: [fpc-pascal] compilation feeback

2010-04-30 Thread Jonas Maebe
On 30 Apr 2010, at 09:40, spir ☣ wrote: -1- "local" variable When a program-global variable is unused, the compiler message reads 'Note: Local variable "x" not used'. Is this a mistake or do I misunderstand some point? Such variables are local to the current program or to the unit (in ca

Re: [fpc-pascal] compilation feeback

2010-04-30 Thread Graeme Geldenhuys
spir ☣ het geskryf: > > -3- linker message > I systematically get > '/use/bin/ld: warning: link.res contains output sections; did you forget -T?' > What does this mean? I get this often, and also don't have a clue what it means. Yet our applications still seem to run fine. Go figure?? :-/ I'm us