I imagine that who really want to get rid from the hint ... don´t
use Pascal anyway! or do have strong test tools!!! 

one point is that
(many?) people use "with" ... and compiler can make it safer. may be as
described Frederic Da Vitoria ... producing error when may be confused.
(but let configure it!) 

Philippe 

Em 16.09.2014 09:48, Frederic Da
Vitoria escreveu: 

> 2014-09-16 14:42 GMT+02:00 Sven Barth
<pascaldra...@googlemail.com>:
> 
>> Am 16.09.2014 12:37 schrieb
"Mattias Gaertner" <nc-gaert...@netcologne.de>:
>> >
>> > On Tue, 16 Sep
2014 07:26:24 -0300
>> > Philippe <phili...@quarta.com.br> wrote:
>>
>
>> > >
>> > >
>> > > could the compiler avoid "with" pitfalls?
>> >
>
>> > > now the compiler attach
>> > > a property to the closest "with"
where it finds it.
>> > >
>> > > the compiler could
>> > > check if the
property appears in another "with" of the "with" stack and
>> > >
produce a message (hint, warning or error, which may be
configurated).
>> > >
>> > >
>> > > is not it a way to make the "with"
safe?
>> >
>> > How to get rid of the hint? 
>> 
>> Either get rid of
the "with" or use a compiler directive to disable it ;) 
>> 
>>
Regards,
>> Sven
> ... or rewrite the offending reference so that the
compiler won't complain.
> 
> -- Frederic Da Vitoria
> (davitof)
> 
>
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org [2] 
> 
>
_______________________________________________
> fpc-pascal maillist -
fpc-pascal@lists.freepascal.org
>
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal [1]




Links:
------
[1]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
[2]
http://www.april.org
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to