[fpc-devel] Purpose of "uses ... in"?
Michael Van Canneyt
michael at freepascal.org
Mon Jul 12 20:35:15 CEST 2010
On Mon, 12 Jul 2010, Hans-Peter Diettrich wrote:
> 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.
I agree.
Michael.
More information about the fpc-devel
mailing list