On Thursday 13 March 2008 11:26:49 Graeme Geldenhuys wrote:
> Thanks Jeff.
>
> That seems to work fine with my project under Linux. Now I only need
> to learn the format and meaning of all the numbers in callgrind.log
> file. But I'm sure the website or man pages will give info on that.
kcachegr
l at
the beginning of each file.
By the way, your way of doing it should work, but the VIM newsgroup is IMHO a
better place to ask such a question.
bartek
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
rrays?
var
pFSImage: array[0..3] of pGTKWidget;
i: integer;
begin
for i:= 0 to 3 do
begin
pFSImage[i] := your code here
more code
end;
end;
You could also use dynamic arrays if you don
On Sunday 30 December 2007 15:31:32 Micha Nelissen wrote:
> bartek wrote:
> > I am not quite sure whether my synatx is correct. IMHO explictly defining
the
> > type feels more pascalish. Having more time at hand i have written a much
> > shorter example code which shows in
On Sunday 30 December 2007 07:32:22 Micha Nelissen wrote:
> bartek wrote:
> > function HashOf(const Key: ShortString): DWord;
> >
> > function BucketNodeOf(const Hash: DWord): TBucket.PNode;
> > DataContainers.pp(104,66) Fatal: Syn
mebody can enlighten me once again ;)
Thank you in advance.
bartek.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> FPC SVN (rev. 9495) -- FPC 2.2.0 dies with EAccessViolation while compiling
> > the code in question
> > linux 2.6.23 x86
> >
>
> Please try r9521 of FPC 2.3.1
>
o_O works. Great! Thank you very much. :)
bartek
___
fpc-pasc
advance.
bartek
{$mode objfpc}{$h+}
unit RegisteredCallbacks;
interface
uses classes, sysutils;
type
{ fake TList }
generic TList = class
private
FakeMemory: T;
function GetElement(const Index: integer): T;
procedure SetElement
property TableSize: integer read GetTableSize write
SetTableSize;
end;
--- 8< *snip, snip* -----
bartek
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Thursday 15 November 2007 17:59:26 Micha Nelissen wrote:
> bartek wrote:
> > Could be FPC at fault? Both files are attached, "DataContainers.pp" being
> > the two lists and "DataContainers_Test.pp" the test program.
> >
> > FPC 2.2.0 on Linux 2.
results in absolutely no problems reported by valgrind.
Could be FPC at fault? Both files are attached, "DataContainers.pp" being the
two lists and "DataContainers_Test.pp" the test program.
FPC 2.2.0 on Linux 2.6.23
valgrind-3.2.3
thanks in advance
bartek
{$mode objfpc}{$h+}
be FPC at fault? Both files are attached, "DataContainers.pp" being the
two lists and "DataContainers_Test.pp" the test program.
FPC 2.2.0 on Linux 2.6.23
valgrind-3.2.3
thanks in advance
bartek
{$mode objfpc}{$h+}
unit DataContainers;
interface
type
{ TList }
mbler
output of the fp compiler. "fpc -alrnt ..." You can use this a base for more
handoptimizing assembler code.
As a side note. I see you are using extended. Newer x86 CPUs support the
SSE1/2/3/4 extensions which can process multiple doubles at mind-boggling
speed. If you ca
On Sunday 20 May 2007 16:43:34 Jonas Maebe wrote:
> On 20 May 2007, at 16:38, bartek wrote:
> > OK. And what about this:
> > -8<-
> > /home/bartek/Dev/units/glgui/glgui.pp(376,33) Error: Can't take the
> > address of
> > constant exp
On Sunday 20 May 2007 16:22:44 Jonas Maebe wrote:
> On 20 May 2007, at 16:20, bartek wrote:
> > This made me curious, and I checked my links. Seems like I
> > accidentally
> > compiled with fpc 2.3.1. I am very sorry, my bad :( .
> > But OTOH, I still want to know what
ge, this change has not yet been merged to the fixes branch (so
> it's definitely not yet in 2.1.4)
>
This made me curious, and I checked my links. Seems like I accidentally
compiled with fpc 2.3.1. I am very sorry, my bad :( .
But OTOH, I still want to know what I need to do to get
Hi,
I tried to compile my current project with the new compiler (2.1.4). This
resulted in the following error:
-8<-
/home/bartek/Dev/units/vmath.pp(435,29) Error: Can't take the address of
constant expressions
-8<-
-8<-
destructor TLazyVariableManage
not counting the graphics part, is ingenious IMHO.
bartek
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
ev/Infor$
[...]
FreePascal fixes_2_2 on Kubuntu 6.10 x86
Thanks in advance
bartek
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
ExceptFrameCount;
Frames := ExceptFrames;
for FrameNumber := 0 to FrameCount - 1 do csl_log(0,
BackTraceStrFunc(Frames[FrameNumber]));
csl_log(-1, 'done');
csl_log(-1, 'catched');
end;
If anything can be made better, feel free to contact me.
bartek
Mattias Gaertner schrieb:
> :)
>
> Mattias
> ___
> fpc-pascal maillist - fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
>
>
Indeed, kudos to the people that made it.
___
explorer, it
does launch) No error messages :/.
OS: WindowsXP
Fpc and Lazarus: newest from svn
Thanks in advance.
bartek
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Florian Klaempfl wrote:
Bartek wrote:
Vincent Snijders wrote:
Bartek wrote:
Jonas Maebe wrote:
On 7 aug 2005, at 21:29, Bartek wrote:
I am compiling my sources under win32 for win32 with Lazarus.
And my source codes and the "tcl80.pas" ha
Vincent Snijders wrote:
Bartek wrote:
Jonas Maebe wrote:
On 7 aug 2005, at 21:29, Bartek wrote:
I am compiling my sources under win32 for win32 with Lazarus.
And my source codes and the "tcl80.pas" has compiled fine with
earlier versions of fpc. I only updated the fpc s
Jonas Maebe wrote:
On 7 aug 2005, at 21:29, Bartek wrote:
I am compiling my sources under win32 for win32 with Lazarus.
And my source codes and the "tcl80.pas" has compiled fine with
earlier versions of fpc. I only updated the fpc source from svn,
compiled it, copied over th
Marco van de Voort wrote:
Using the current compiler from svn, i get the following message when
trying to compile "tcl80.pas". This also happens when i try to compile
other code using asm code.
[...]\tcl80.pp(1023,6) Fatal: Selected assembler reader not supported
thanks for your help in ad
hi
Using the current compiler from svn, i get the following message when
trying to compile "tcl80.pas". This also happens when i try to compile
other code using asm code.
[...]\tcl80.pp(1023,6) Fatal: Selected assembler reader not supported
thanks for your help in advanc
Vincent Snijders wrote:
Peter Vreman wrote:
hi,
how can i show source line numbers, when an exception occurs, like
sysutils do?
...
An unhandled exception occurred at $0040E9B5 :
EInOutError : Invalid filename
$0040E9B5 TDXF__LOAD, line 271 of dxffile.pas
$0040EFFA TDXF__CREATE, line
,alias:'FPC_BREAK_UNHANDLED_EXCEPTION'];
...
but i don't how to set FrameCount and Frames.
thanks in advance
bartek
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
sorry, it was my fault. i accidently opened everytime the old
documentation i used for 1.0.x.
as to the fcl, i helped myself with the delphi docu.
bartek
Michael Van Canneyt wrote:
On Wed, 20 Apr 2005, Bartek wrote:
hi,
is there an actualized version of the freepascal documentation
hi,
is there an actualized version of the freepascal documentation?
everything i find on the freepascal site is not uptodate enough for
1.9.8. i am also not able to find any documentation of the fcl. nor on
the fpc site neither on the laz site.
thanks in advance
bartek
---
-
> >program bug;
> >uses heaptrc,sysutils;
> >begin
> >markheap;
> >end.
>
> Use the bug repository to report bugs otherwise they will be forgotten.
done so.
thanks for your answer.
bartek
e:\fpc198\work\bug.exe /P"
Marked memory at $00083514 invalid
Wrong signature $ instead of 8736A0C5
$004072DB
$00404E74
$0040C6D6
$004096B4
$0040C473
$0040C1C9
$004082C6
$00408088
$004022C7
//--
tha
e:\fpc198\work\bug.exe /P"
Marked memory at $00083514 invalid
Wrong signature $ instead of 8736A0C5
$004072DB
$00404E74
$0040C6D6
$004096B4
$0040C473
$0040C1C9
$004082C6
$00408088
$004022C7
//--
tha
i've just recompiled all my programs with all optimization switches disabled
and all checks disabled, just for curiosity, because you mentioned this
problem. they are suddenly running perfectly fine. i think the code
optimization or the checking is somehow broken...
- Original Message -
yes, you're right. after disabling the stack cheking it runs fine.
thanks
- Original Message -
From: "Jonas Maebe" <[EMAIL PROTECTED]>
To: "FPC-Pascal users discussions"
Sent: Monday, January 03, 2005 8:29 PM
Subject: Re: [fpc-pascal] Runtime Error 216
On 3 jan 2005, at 20:19, Peter V
. this
snippet is causing the crash. i'm not sure if it is my fault.
thanks in advance
bartek
program bug3;
type
PSDL_Surface = ^TSDL_Surface;
TSDL_Surface = record
offset: Integer;
end;
var
screen :psdl_surface;
function SDL_MustLock(Surface: pSDL_Surface): Boolean;
hi,
i'm trying to get this piece of code to work. but it fails on execution and
returns a SIGSEV signal. i think this is caused by the weird code, fpc
creates. fpc tryed to access the wide sse registers with multiple short
32bit registers, and at some point, protected memory is accessed.
i'm using
38 matches
Mail list logo