[fpc-pascal] how to get rid of hints

Florian Klämpfl florian at freepascal.org
Tue Jun 26 21:38:45 CEST 2018


Am 25.06.2018 um 09:19 schrieb Mattias Gaertner:
> Hi,
> 
> How to get rid of hint 6068?
> 
> With fpc 3.1.1 using some units like fgl the compiler emits:
> 
> .../fpc/rtl/objpas/fgl.pp(899,1) Hint: "inherited" not yet supported
> inside inline procedure/function
> .../fpc/rtl/objpas/fgl.pp(899,1) Hint: Inlining disabled
> 
> There is no clue, what of my code triggers it.
> 
> How to get rid of the hint?

Put
#ifndef VER3_0
-vm6068
#endif
into your fpc.cfg.

> 
> I can't use -vm6068, because that is not supported by older fpc. Also
> shutting down down an otherwise useful hint entirely is not my favored
> thing to do.
> 
> Mattias
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
> 




More information about the fpc-pascal mailing list