[fpc-pascal] Bugs in 2.1.4 ?

Flávio Etrusco flavio.etrusco at gmail.com
Fri Jun 1 23:52:29 CEST 2007


> I'm not sure if the following are bugs of 2.1.4:

I'm not sure either ;-)
But since these seem too absurd to be true, just make sure:

> 1) A variable used in the body of a function that I defined, while it
> is not defined  in the function's var part, the file compiles
> successfully.

- you're not accessing an external (field or global) variable.

> 2) The compiler reports error when a code fragment is commented out
> with { }, while if I remove altogether the code fragment the file
> compiles successfully.

- you don't have '{' chars inside your comments and nested comments are enabled.

Cheers,
Flávio



More information about the fpc-pascal mailing list