how to get rid of hints

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

how to get rid of hints

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?

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  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: how to get rid of hints

Florian Klämpfl
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  -  [hidden email]
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal