Recent

Author Topic: Illegal type conversion: "TCornerSet" to "TPdfCorners"  (Read 8579 times)

jesusr

  • Sr. Member
  • ****
  • Posts: 496
Re: Illegal type conversion: "TCornerSet" to "TPdfCorners"
« Reply #15 on: May 23, 2024, 09:58:47 pm »
Fixed in 1b3e5ae738129.
Instead of fighting the compiler directives/updating powerpdf this solution should work in any circunstance
Please test.

madref

  • Hero Member
  • *****
  • Posts: 1078
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: Illegal type conversion: "TCornerSet" to "TPdfCorners"
« Reply #16 on: May 24, 2024, 12:33:40 am »
What must i test?


Install a new trunk version?
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Main Platform:
--------------
Mac OS X Sonoma 14.7
Lazarus 3.99 (Lazarus 3.99 (rev main_3_99-2668-g6b352d830e) FPC 3.3.1 x86_64-darwin-cocoa)

Windows 10 Pro
Lazarus 3.99 (rev cbfd80ce39)

rvk

  • Hero Member
  • *****
  • Posts: 6572
Re: Illegal type conversion: "TCornerSet" to "TPdfCorners"
« Reply #17 on: May 24, 2024, 04:22:48 am »
What must i test?
Install a new trunk version?
Yes you can see here how it's fixed by @jesusr.
https://gitlab.com/freepascal.org/lazarus/lazarus/-/commit/1b3e5ae738129eb9a84fc61d2973a21bf57b69ad

So yes... new trunk.

madref

  • Hero Member
  • *****
  • Posts: 1078
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: Illegal type conversion: "TCornerSet" to "TPdfCorners"
« Reply #18 on: May 24, 2024, 08:38:48 am »
Thanks......


didn't install a complete new trunk....just changed the lines as suggested and build the IDE again
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Main Platform:
--------------
Mac OS X Sonoma 14.7
Lazarus 3.99 (Lazarus 3.99 (rev main_3_99-2668-g6b352d830e) FPC 3.3.1 x86_64-darwin-cocoa)

Windows 10 Pro
Lazarus 3.99 (rev cbfd80ce39)

Thaddy

  • Hero Member
  • *****
  • Posts: 16138
  • Censorship about opinions does not belong here.
Re: Illegal type conversion: "TCornerSet" to "TPdfCorners"
« Reply #19 on: May 24, 2024, 08:45:29 am »
Bad habit... Would not work in all cases... Lucky for you it did...
If I smell bad code it usually is bad code and that includes my own code.

 

TinyPortal © 2005-2018