Recent

Author Topic: FPC 2.6.0: problems using FpSpreadsheet  (Read 5798 times)

JD

  • Hero Member
  • *****
  • Posts: 1909
FPC 2.6.0: problems using FpSpreadsheet
« on: January 05, 2012, 08:00:53 pm »
Hi everyone,

I just updated my Lazarus installation to Lazarus 0.9.31 svn 34536 with FPC 2.6.0 compiler on Windows. My problem is I can no longer compile a program I wrote that uses FpSpreadsheet. I keep getting the following error in fpolebasic.pas:

Code: [Select]
....\FpSpreadsheet\fpolebasic.pas(65,3) Fatal: Internal error 200305057

The line that provokes the error above is the following:

Code: [Select]
  AOLEDocument.Stream.Position:=0; //Ensures it is in the begining.

I've updated to the latest SVN FpSpreadsheet source but I still can't compile my program. Strangely enough, I can compile FpSpreadsheet itself BUT not my program that uses FpSpreadsheet.

Thanks for your assistance.

JD
« Last Edit: January 05, 2012, 08:02:44 pm by JD »
Linux Mint - Lazarus 4.0/FPC 3.2.2,
Windows - Lazarus 4.0/FPC 3.2.2

mORMot 2, PostgreSQL & MariaDB.

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: FPC 2.6.0: problems using FpSpreadsheet
« Reply #1 on: January 08, 2012, 11:47:39 pm »
Oh, you need to report this as a bug in Free Pascal in the bug tracker and attach there a compilable test project

JD

  • Hero Member
  • *****
  • Posts: 1909
Re: FPC 2.6.0: problems using FpSpreadsheet
« Reply #2 on: January 09, 2012, 01:47:49 am »
It's a strange bug. I solved the problem by refactoring the unit that creates spreadsheets in my application. I still don't know what triggered the error. But thankfully, it's gone now.

JD
Linux Mint - Lazarus 4.0/FPC 3.2.2,
Windows - Lazarus 4.0/FPC 3.2.2

mORMot 2, PostgreSQL & MariaDB.

 

TinyPortal © 2005-2018