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 case they are declared in the implementation of a unit). We could just remove the "local" though.

-2- place of error messages
In the output, warnings seem to always come before the deadly 'Compilation failed'. But error messages seem to randomly be placed before, after, or even both. Is there a logic I don't catch behind this? Or is it a bug of my terminal's writing system (I use a VTE).

I've never seen that.

-3- linker message
I systematically get
'/use/bin/ld: warning: link.res contains output sections; did you forget -T?'
What does this mean?

http://www.freepascal.org/faq.var#unix-ld219


Jonas_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to