[fpc-devel] Purpose of "uses ... in"?

Hans-Peter Diettrich DrDiettrich1 at aol.com
Mon Jul 12 18:20:28 CEST 2010


Michael Van Canneyt schrieb:

> The cure is far worse than the problem, because it is still trying to 
> combine 2 systems that are basically incompatible.
> 
> Bottom line is: don't use 'in' for the uses clause; use the command-line
> option to specify the location of the sources.

Then we could start by immediately flagging all uses of "in" as 
deprecated, unless e.g. TP7 or Delphi mode is selected. When the users 
can demonstrate that they still need such a feature, we could think 
again about other (more compatible) solutions for not yet covered 
special cases, before dropping it from the FPC syntax.

DoDi




More information about the fpc-devel mailing list