Recent

Author Topic: bgraformatui.pas(26,12) Warning: Unit "Rtti" is experimental  (Read 645 times)

backprop

  • Full Member
  • ***
  • Posts: 216
bgraformatui.pas(26,12) Warning: Unit "Rtti" is experimental
« on: March 05, 2026, 07:33:14 am »
Using BGRAVirtualScreen, I have noticed this when recompiling:
Code: Pascal  [Select][+][-]
  1. bgraformatui.pas(26,12) Warning: Unit "Rtti" is experimental

Why this "experimental" unit is used here anyway?

Can you fix this anyway?

cdbc

  • Hero Member
  • *****
  • Posts: 2725
    • http://www.cdbc.dk
Re: bgraformatui.pas(26,12) Warning: Unit "Rtti" is experimental
« Reply #1 on: March 05, 2026, 07:46:51 am »
Hi
That will be /fixed/ when unit 'rtti' is no longer 'experimental'  ;D
-- Quite the complex area, this RTTI-Business --
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

backprop

  • Full Member
  • ***
  • Posts: 216
Re: bgraformatui.pas(26,12) Warning: Unit "Rtti" is experimental
« Reply #2 on: March 05, 2026, 08:59:57 am »
Hi
That will be /fixed/ when unit 'rtti' is no longer 'experimental'  ;D
-- Quite the complex area, this RTTI-Business --
Regards Benny

I would bet that it will never be "finished" and declared "official", rater it will be abandoned. ;)

Anyway, quite weird decision to base development hings on "experimental" code...

backprop

  • Full Member
  • ***
  • Posts: 216
Re: bgraformatui.pas(26,12) Warning: Unit "Rtti" is experimental
« Reply #3 on: March 05, 2026, 09:02:14 am »
Hi
That will be /fixed/ when unit 'rtti' is no longer 'experimental'  ;D
-- Quite the complex area, this RTTI-Business --
Regards Benny

I would bet that it will never be "finished" and declared "official", rater it will be abandoned. ;)

Anyway, quite weird decision to base development on "experimental" code...

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12770
  • FPC developer.
Re: bgraformatui.pas(26,12) Warning: Unit "Rtti" is experimental
« Reply #4 on: March 05, 2026, 11:40:06 am »
I would bet that it will never be "finished" and declared "official", rater it will be abandoned. ;)

Anyway, quite weird decision to base development hings on "experimental" code...

It is a delphi compatibility unit, so I doubt that :-)   I think it more hints that if the extended RTTI evolves, the exact definition might change, and break code that relies on earlier layout. I.e. the interfaces are not 100% fixed yet

PascalDragon

  • Hero Member
  • *****
  • Posts: 6381
  • Compiler Developer
Re: bgraformatui.pas(26,12) Warning: Unit "Rtti" is experimental
« Reply #5 on: March 05, 2026, 09:05:02 pm »
Hi
That will be /fixed/ when unit 'rtti' is no longer 'experimental'  ;D
-- Quite the complex area, this RTTI-Business --
Regards Benny

I would bet that it will never be "finished" and declared "official", rater it will be abandoned. ;)

Anyway, quite weird decision to base development hings on "experimental" code...

In main the unit is already no longer declared experimental. For the 3.2.x series it will stay that way.

 

TinyPortal © 2005-2018