Re: [fpc-pascal] how to get rid of hints

2018-06-26 Thread 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  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal



___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] how to get rid of hints

2018-06-25 Thread 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  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal