[fpc-pascal] rtl-generics: Suggestion and question

silvioprog silvioprog at gmail.com
Sat Aug 13 00:55:17 CEST 2016


On Fri, Aug 12, 2016 at 5:03 PM, silvioprog <silvioprog at gmail.com> wrote:

> On Fri, Aug 12, 2016 at 3:51 PM, Maciej Izak <hnb.code at gmail.com> wrote:
> [...]
>
>> Using WARN OFF for whole module is rather bad, but might be (temporary)
>> the only solution. IIRC FPC has many bugs for switching off warnings /
>> hints especially for generics. Compiler likes to report warnings/hints in
>> specialization place/module (which each of reported warnings was disabled
>> in structure declaration).
>>
>
> IIRC FPC has the {$PUSH}/{$POP} switches allowing to enable/disable
> switches, I would be happy if someone could confirm that.
>

Oh, I'm wrong about  POP/PUSH switches ^^' :

http://www.freepascal.org/docs-html/prog/progsu62.html#x69-680001.2.62

http://www.freepascal.org/docs-html/prog/progsu63.html#x70-690001.2.63

-- 
Silvio Cl├ęcio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160812/aeb90fc4/attachment.html>


More information about the fpc-pascal mailing list