Re: [fpc-pascal] Strange error message

2013-05-08 Thread Sven Barth
Am 08.05.2013 12:37, schrieb Darius Blaszyk: Am 08.05.2013 11:40, schrieb Darius Blaszyk: Am 08.05.2013 11:20, schrieb Darius Blaszyk: I'm working on a glut app but I keep on getting the message: Error: Can't assign local procedure/function to procedure variable The

Re: [fpc-pascal] Strange error message

2013-05-08 Thread Darius Blaszyk
> Am 08.05.2013 11:40, schrieb Darius Blaszyk: > > Am 08.05.2013 11:20, schrieb Darius Blaszyk: > I'm working on a glut app but I keep on getting the message: Error: Can't > assign local procedure/function to procedure variable The error is at this > line: glutDisplayFunc(@redrawfunc); And th

Re: [fpc-pascal] Strange error message

2013-05-08 Thread Sven Barth
Am 08.05.2013 11:40, schrieb Darius Blaszyk: Am 08.05.2013 11:20, schrieb Darius Blaszyk: I'm working on a glut app but I keep on getting the message: Error: Can't assign local procedure/function to procedure variable The error is at this line: glutDisplayFunc(@redrawfunc); And the callback (w

Re: [fpc-pascal] Strange error message

2013-05-08 Thread Darius Blaszyk
> Am 08.05.2013 11:20, schrieb Darius Blaszyk: > >> I'm working on a glut app but I keep on getting the message: Error: Can't >> assign local procedure/function to procedure variable The error is at this >> line: glutDisplayFunc(@redrawfunc); And the callback (which is declared in >> the same

Re: [fpc-pascal] Strange error message

2013-05-08 Thread Sven Barth
Am 08.05.2013 11:20, schrieb Darius Blaszyk: I'm working on a glut app but I keep on getting the message: Error: Can't assign local procedure/function to procedure variable The error is at this line: glutDisplayFunc(@redrawfunc); And the callback (which is declared in the same .inc file) is

[fpc-pascal] Strange error message

2013-05-08 Thread Darius Blaszyk
I'm working on a glut app but I keep on getting the message: Error: Can't assign local procedure/function to procedure variable The error is at this line: glutDisplayFunc(@redrawfunc); And the callback (which is declared in the same .inc file) is declared as: procedure redrawfunc; cdecl; I

Re: [fpc-pascal] Strange error with Pa_IsFormatSupported from portaudio when used with Pascal headers AND Mac OS X.

2010-03-07 Thread Jonas Maebe
On 07 Mar 2010, at 19:18, Schindler Karl-Michael wrote: > If I use Pa_IsFormatSupported from portaudio with a different sample rate > than the default, I get a division by zero error or other arithmetic error. ... > gdb backtrace shows that it is deep down in Apple libs (probably the reason, >

[fpc-pascal] Strange error with Pa_IsFormatSupported from portaudio when used with Pascal headers AND Mac OS X.

2010-03-07 Thread Schindler Karl-Michael
Hi If I use Pa_IsFormatSupported from portaudio with a different sample rate than the default, I get a division by zero error or other arithmetic error. However, it needs very special conditions. It does not occur with the same Pascal program on linux. Also the very similar test program pa_devs

Re: [fpc-pascal] Strange error

2009-06-08 Thread Graeme Geldenhuys
Hans Mårtensson wrote: All right, but with former versions of FPC there was no message if all memory was freed. I've been getting the memory usage output for some time already. So that is normal when heaptrc unit is enabled. And because the message is marked "error", I thought that it migh

Re: [fpc-pascal] Strange error

2009-06-08 Thread Hans Mårtensson
Vincent Snijders wrote: Hans Mårtensson schreef: When compiling a windows program with FPC version 2.2.4 with the switch -dDEBUG (using the default configuration), after running the program I get the following message: - Error Heap dump by heaptrc unit 0 memory b

Re: [fpc-pascal] Strange error

2009-06-08 Thread Vincent Snijders
Hans Mårtensson schreef: When compiling a windows program with FPC version 2.2.4 with the switch -dDEBUG (using the default configuration), after running the program I get the following message: - Error Heap dump by heaptrc unit 0 memory blocks allocated: 0/0 0 memo

[fpc-pascal] Strange error

2009-06-08 Thread Hans Mårtensson
When compiling a windows program with FPC version 2.2.4 with the switch -dDEBUG (using the default configuration), after running the program I get the following message: - Error Heap dump by heaptrc unit 0 memory blocks allocated: 0/0 0 memory blocks freed: 0/0 0 unf

Re: [fpc-pascal] Strange error message?

2006-07-07 Thread John Coppens
On Fri, 07 Jul 2006 20:14:13 +0200 Vincent Snijders <[EMAIL PROTECTED]> wrote: > or compile your code in tp mode (fpc -h for help about command line > parameters). > > Vincent > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lis

Re: [fpc-pascal] Strange error message?

2006-07-07 Thread Vincent Snijders
Marc Santhoff wrote: Am Freitag, den 07.07.2006, 14:40 -0300 schrieb John Coppens: PrevProc: ShTableLine = DummyShLine; Use PrevProc: ShTableLine = @DummyShLine; to tell fpc it's an address and no function call. or compile your code in tp mode (fpc -h for help about command line

Re: [fpc-pascal] Strange error message?

2006-07-07 Thread Marc Santhoff
Am Freitag, den 07.07.2006, 14:40 -0300 schrieb John Coppens: > PrevProc: ShTableLine = DummyShLine; Use PrevProc: ShTableLine = @DummyShLine; to tell fpc it's an address and no function call. Have fun, Marc ___ fpc-pascal maillist - fpc-

[fpc-pascal] Strange error message?

2006-07-07 Thread John Coppens
Hi... I was trying to compile some old TP code and got a strange error message: program test_reg; type ShTableLine= procedure(n: integer); procedure DummyShLine(Nr: integer); begin end; {DummyShLine} procedure UseIt; const PrevProc: ShTableLine = DummyShLine; begin end; be

Re: [fpc-pascal]Strange error from a simple class

2003-06-08 Thread James Mills
On Sun, Jun 08, 2003 at 05:39:51PM +0200, Michael Van Canneyt wrote: > > > On Mon, 9 Jun 2003, James Mills wrote: > > > On Mon, Jun 09, 2003 at 12:57:24AM +1000, James Mills wrote: > > > On Sun, Jun 08, 2003 at 04:43:21PM +0200, Michael Van Canneyt wrote: > > > > > > > > > > > > On Sun, 8 Jun 20

Re: [fpc-pascal]Strange error from a simple class

2003-06-08 Thread Michael Van Canneyt
On Mon, 9 Jun 2003, James Mills wrote: > On Mon, Jun 09, 2003 at 12:57:24AM +1000, James Mills wrote: > > On Sun, Jun 08, 2003 at 04:43:21PM +0200, Michael Van Canneyt wrote: > > > > > > > > > On Sun, 8 Jun 2003, James Mills wrote: > > > > > > > Hi, > > > > > > > > I get this error from a very s

Re: [fpc-pascal]Strange error from a simple class

2003-06-08 Thread James Mills
On Mon, Jun 09, 2003 at 12:57:24AM +1000, James Mills wrote: > On Sun, Jun 08, 2003 at 04:43:21PM +0200, Michael Van Canneyt wrote: > > > > > > On Sun, 8 Jun 2003, James Mills wrote: > > > > > Hi, > > > > > > I get this error from a very simple class: > > > > > > Runtime error 216 at 0x0805A735

Re: [fpc-pascal]Strange error from a simple class

2003-06-08 Thread James Mills
On Sun, Jun 08, 2003 at 04:43:21PM +0200, Michael Van Canneyt wrote: > > > On Sun, 8 Jun 2003, James Mills wrote: > > > Hi, > > > > I get this error from a very simple class: > > > > Runtime error 216 at 0x0805A735 > > 0x0805A735 > > 0x080481FF TCONFIG__PRINT, line 29 of configclass.pas >

Re: [fpc-pascal]Strange error from a simple class

2003-06-08 Thread Michael Van Canneyt
On Sun, 8 Jun 2003, James Mills wrote: > Hi, > > I get this error from a very simple class: > > Runtime error 216 at 0x0805A735 > 0x0805A735 > 0x080481FF TCONFIG__PRINT, line 29 of configclass.pas > 0x0805BE35 main, line 29 of forum.pas > 0x080480B0 > > Any ideas ? You should also s

[fpc-pascal]Strange error from a simple class

2003-06-08 Thread James Mills
Hi, I get this error from a very simple class: Runtime error 216 at 0x0805A735 0x0805A735 0x080481FF TCONFIG__PRINT, line 29 of configclass.pas 0x0805BE35 main, line 29 of forum.pas 0x080480B0 Any ideas ? cheers James unit configClass; interface type TConfig = class(TObject) co

[fpc-pascal]Strange error with a simple class

2003-06-08 Thread James Mills
Hi, I get the following with a very simple class: Runtime error 216 at 0x0805A735 0x0805A735 0x080481FF TCONFIG__PRINT, line 29 of configclass.pas 0x0805BE35 main, line 29 of forum.pas 0x080480B0 Any ideas ? cheers James -- - - James Mills Zero Defect Software Engineers Group - ZD

Re: [fpc-pascal]Strange error

2003-02-27 Thread Mattias Gaertner
On Thu, 27 Feb 2003 11:26:36 +0100 Peter Vreman <[EMAIL PROTECTED]> wrote: > At 11:14 27-2-2003, you wrote: > >Hi all, > > > >I'm trying to port the turbopower internet pro html viewer to lazarus. I > >use the delphi mode and the fpc 1.0.7 [2003/02/21] for i386. Now there > >are two strange error

Re: [fpc-pascal]Strange error

2003-02-27 Thread Peter Vreman
At 11:14 27-2-2003, you wrote: Hi all, I'm trying to port the turbopower internet pro html viewer to lazarus. I use the delphi mode and the fpc 1.0.7 [2003/02/21] for i386. Now there are two strange error messages, and I neither know, what they mean, nor how to get rid of: iphtml.pas(3662,3) Error

[fpc-pascal]Strange error

2003-02-27 Thread Mattias Gaertner
Hi all, I'm trying to port the turbopower internet pro html viewer to lazarus. I use the delphi mode and the fpc 1.0.7 [2003/02/21] for i386. Now there are two strange error messages, and I neither know, what they mean, nor how to get rid of: iphtml.pas(3662,3) Error: Symbol can't be published, c