<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>I imagine that who really want to get rid from the hint ... don´t use Pascal anyway! or do have strong test tools!!!</p>
<p>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!)</p>
<p>Philippe</p>
<p>Em 16.09.2014 09:48, Frederic Da Vitoria escreveu:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">2014-09-16 14:42 GMT+02:00 Sven Barth <span><<a href="mailto:pascaldragon@googlemail.com">pascaldragon@googlemail.com</a>></span>:<br />
<blockquote class="gmail_quote" style="margin: 0  0  0  .8ex; border-left: 1px  #ccc  solid; padding-left: 1ex;">
<p>Am 16.09.2014 12:37 schrieb "Mattias Gaertner" <<a href="mailto:nc-gaertnma@netcologne.de">nc-gaertnma@netcologne.de</a>>:<span><br /> ><br /> > On Tue, 16 Sep 2014 07:26:24 -0300<br /> > Philippe <<a href="mailto:philippe@quarta.com.br">philippe@quarta.com.br</a>> wrote:<br /> ><br /> > ><br /> > ><br /> > > could the compiler avoid "with" pitfalls?<br /> > ><br /> > > now the compiler attach<br /> > > a property to the closest "with" where it finds it.<br /> > ><br /> > > the compiler could<br /> > > check if the property appears in another "with" of the "with" stack and<br /> > > produce a message (hint, warning or error, which may be configurated).<br /> > ><br /> > ><br /> > > is not it a way to make the "with" safe?<br /> ><br /> > How to get rid of the hint?</span></p>
<p>Either get rid of the "with" or use a compiler directive to disable it ;)</p>
<p>Regards,<br /> Sven</p>
</blockquote>
</div>
... or rewrite the offending reference so that the compiler won't complain.<br /><br clear="all" />
<div>-- </div>
Frederic Da Vitoria<br />(davitof)<br /><br />Membre de l'April - « promouvoir et défendre le logiciel libre » - <a href="http://www.april.org">http://www.april.org</a></div>
</div>
<br />
<pre>_______________________________________________
fpc-pascal maillist  -  <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a>
</pre>
</blockquote>
<p> </p>
</body></html>