Recent

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

jesusr

  • Sr. Member
  • ****
  • Posts: 491
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: 1014
  • ..... 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.

Lazarus 3.99 (rev main_3_99-2099-gef1838e6d2) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Sonoma 14.5

rvk

  • Hero Member
  • *****
  • Posts: 6268
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: 1014
  • ..... 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.

Lazarus 3.99 (rev main_3_99-2099-gef1838e6d2) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Sonoma 14.5

Thaddy

  • Hero Member
  • *****
  • Posts: 14837
  • 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...
bitrate is always calculated like this:sample rate * bitdepth * number of channels.

 

TinyPortal © 2005-2018