Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2018-06

how to get rid of hints

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

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

Florian Klämpfl
to Mattias Gaertner
Mattias Gaertner wrote 13 lines
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.

Show quoted text 10 lines
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 - http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal