[fpc-devel] Suggestion for change: Overly strict check

Christian Iversen chrivers at iversen-net.dk
Mon Oct 2 11:06:54 CEST 2006


On Monday 02 October 2006 10:40, Vincent Snijders wrote:
> Chris Cheney schreef:
> > C'est magnifique, mais ce n'est pas la guerre.
> >
> > Two Very Bad Things:
> >
> > * The restriction increases the context sensitivity of the language.
>
> What do you mean? It thought it reduces the context sensitivity, because
> the context is less important to determine what a identifier means. But
> maybe I missed your point.

I'm pretty sure he means that no can no longer, for example, copy a function 
from one class to another, without risking having to rewrite all the 
parameter names.

> > * The restriction increases the number of incompatibilities with Delphi
> > and therefore increases the difficulty of porting existing programs.
>
> For porting Delphi programs, compile the unit with -Sd.

That's true, but it's still irritating for people who want to go from delphi 
mode to objfpc mode. Particularly since it doesn't help them at all.

-- 
Regards,
Christian Iversen



More information about the fpc-devel mailing list