On Fri, Aug 12, 2016 at 5:03 PM, silvioprog <silviop...@gmail.com> wrote:
> On Fri, Aug 12, 2016 at 3:51 PM, Maciej Izak <hnb.c...@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
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal