<p>Am 10.03.2015 17:25 schrieb "Jürgen Hestermann" <<a href="mailto:juergen.hestermann@gmx.de">juergen.hestermann@gmx.de</a>>:<br>
><br>
><br>
> Am 2015-03-10 um 10:08 schrieb Mattias Gaertner:<br>
><br>
>> On Tue, 10 Mar 2015 08:48:49 +0000<br>
>> Lukasz Sokol <<a href="mailto:el.es.cr@gmail.com">el.es.cr@gmail.com</a>> wrote:<br>
>><br>
>>> On 10/03/15 06:10, Jürgen Hestermann wrote:<br>
>>> [...]<br>
>>>><br>
>>>> Why not simply omit these messages (for managed types)?<br>
>>><br>
>>> Just because YOU don't need it, doesn't mean it's useless for everybody...<br>
>>><br>
>>> <a href="http://www.freepascal.org/docs-html/prog/progsu80.html#x87-860001.2.80">http://www.freepascal.org/docs-html/prog/progsu80.html#x87-860001.2.80</a><br>
>>><br>
>>> why not just use this to suppress the warning JUST where you DO know it's not needed?<br>
>>><br>
>>> (you can suppress warning by number too IIUC).<br>
>><br>
>> Yes.<br>
>> For example in Lazarus 1.3+ you can right click the message and<br>
>> click on "Hide with project option (-vm5089)".<br>
>><br>
> Would this oppress these warnings for managed types only?<br>
> Or would I loose them for non-managed types too?</p>
<p>It mutes the warning with the ID 5089 (the ID can be seen with -vq). So as long as the managed and unmanaged ones use the same warning ID (AFAIR they do) they will both be silenced.</p>
<p>Regards,<br>
Sven</p>