fpc-devel · 2003-11
- -Anasmelf on BeOS bug?2
While trying to compile an ASM/SSE/3DNow! optimized FFT on BeOS, using FPC 1.0.8, I instructed to ppc386 to use NASM (because BeOS's gas can't handle SSE), but: Warning:…
- Nested function as argument for TList.Sort10
The attached program compiles and works fine under Kylix 3, and also compiles under fpc 1.9, but bombs with this message: An unhandled exception occurred at 0x0807F0B5 :…
- Registry bug1
I found a bug in registry.pp file. I use fpc 1.0.10 release version. So It's possible that this is already fixed. Change this line from: TRegDataType = (rdUnknown,…
- comment bug2
There is a small sample. If there is a $ after the comment // characters, I get an error from the compiler. begin writeln('XXXXXXXX'); //$ end. Is this a bug? Tcc
- implicit calls to _addref / _release fail1
Rather than dumping all this information into a bug report I decided to write an email. Here's a test program (attached) and a discussion of what goes wrong. Thanks…
- bugs to close15
How are bug reports against 1.0.x handled? I went through some bugs just for the fun of it and found a lot to close -- however I only tested with the current CVS. 1954 -…
- Internal Error 88881
Tried to port my script engine to the newest Free Pascal, but when trying to compile my fptest.pas project (probably has some errors in it left) I get internal error…
- FYI: array constructor & string2
I couldn't compile anything with the following: procedure x(const a:array of const); var s:string; // ansistring or shortstring doesn't matter x([s]); and tracked it…
- TThread hara-kiri19
Does the example program threads.pp (doc/examples/fcl/threads.pp) work for anybody under Linux? It aborts for me as soon as the first thread is created, printing…
- Lack TWMEraseBkgnd in messages0
HI TWMEraseBkgnd is absent in MESSAGES need: TWMEraseBkgnd = packed record Msg: Cardinal; DC: HDC; Unused: Longint; Result: Longint; end; Darek
- ipv6 resolving7
I've adjusted the netdb code to actually fix some things and resolve ipv6 addresses, and follow cname pointers.. Attached is a patch :-) Also attached is a test program…
- fcl/net doesn't build6
I added the following to allow fcl/net/fpsock.pp to build, however this is a bad hack. The MSG_NOSIGNAL constant is used in fpsock.pp, but not declared anywhere in the…
- asw.exe3
While linking a Lazarus program a as.exe call (???) is caused. How can I force a ldw.exe call? Is there a missing switch? D:\>fpc project1.dpr Hint: End of reading…
- confusing zlib organisation1
There is a confusing zlib organisation in FP. You have to write: uses {$IFDEF FPC} {$ELSE} {$ENDIF}
- Unit compatibility issue1
Subject: Unit compatibility issue Example: type TBevelCut = (bvNone, bvLowered, bvRaised); Delphi: declared in Controls FPC: declared in Graphics/GraphType;
- netdb.pp0
netdb contains the following (from cvs annotate): 1.1 (michael 06-Mar-03): {$i hsh.inc} // disappears if part of resolve.pp !! The relevant functions from…
- IntToHex difference2
Hi A small difference between FreePascal and Delphi's IntToHex function: FreePascal's IntToHex function interprets the Digits parameter as the 'maximum number of…
- Libc compatibility issue0
Subject: Libc compatibility issue Example: {$IFDEF Kylix} ret := Libc.system(PChar(ACmd)); {$ELSE} ret := Libc.__system(PChar(ACmd)); {$ENDIF}
- Small bugfix for SysUtils.CompareMem0
Hi I just found a bug in CompareMem function in SysUtils. CompareMem(p1, p2, 0) (third argument = zero) should always return true (and ignore values p1 and p2). But,…
- ipv6 patch3
Here's a patch to add some IPv6 definitions, I stole them from RFC 2553 :-) Index: inc/socketsh.inc ===================================================================…
- TThread bugfix0
Here's a bugfix -- threads that are not created suspended should also have their flags set like that in the constructor... --- linux/tthread.inc 19 Nov 2003 15:51:54…
- DateUtils under Linux0
Unit DateUtils is already part of the win32 binary snaps but not of the linux binary snaps. Please add it to the linux make process.
- promised tthread patch25
Probably not complete, but an overview of what I have in mind -- read the notes in the file. johannes http://www.sipsolutions.de/ GnuPG key:…
- adding the poll() call8
This is probably not a very nice patch to add fpPoll(), but I really do not know anything about the layout of all the files. Basic testing lets me assume that it works…
- Kylix is dead !0
Now, it's semi official: Kylix is dead! http://www.drbob42.com/kylix/index.htm It's your turn, Lazarus(os_target=Linux) !!!
- windres problem2
Compiling a delphi unit with dfm causes problems. Message: d:\fpc\bin\win32\windres.exe: can't open font file `TTrace'... Under D6 it works. G:\>d:\fpc\bin\win32\ppc386…
- threads in linux2
Has anyone ever tested threads on linux? A dead simple test program (attached) didn't work for me. It always just got "killed". After recompiling the RTL with debugging…
- linux thread priority mapping1
The current mapping appears to be {from pthread.inc} const { I Don't know idle or timecritical, value is also 20, so the largest other possibility is 19 (PFV) }…
- make problem0
I am using the latest snapshots from 11/11. But there is a circular unit reference in LCL. Are there further make switches? D:\Lazarus\lcl>make OS_TARGET=win32…
- (no subject)1
Is there a binary lazarus snapshot too?
- Different behavior between Kylix and FPC3
The following program behaves different in Kylix3 and FPC 1.9. program test5; {$IFDEF FPC} {$MODE DELPHI} {$ENDIF} var i: Integer; begin for i:=1 to 1 do WriteLn(i);…
- Export/import methods: possible?2
Hi! Just before fpc 2.0 is out, I'd like to ask if it would really be hard to allow to import/export methods (including constructors and destructors) like plain…
- daily binary snapshots1
daily binary snapshots of fpc and lazarus without source, doc, etc would be useful.
- Bug in AssignPipe() on Linux16
Using the latest version of the compiler, and I am having a problem with the popen() function on Linux. It looks like popen() fails because AssignStream() fails, because…
- SHUT_* constants (sockets)3
Is there any reason the SHUT_RW/RD/RWRD constants are only available on systems with BSD defined? They definitely are used on linux. johannes http://www.sipsolutions.de/…
- Building FPC 1.9.1 on BeOS4
Hello. While trying to build FPC from today CVS sources on the BeOS platform (using "make beoszip" from the root directory): I had to add two paths on the Makefile.fpc…
- Fw: fpc1.9.0 beta and lazarus "can not create pipe "problem!0
I installed the fpc1.9.0 beta and compiled lazarus under fpc1.9.0, it can sucessful build. I start lazarus and create new project, but when I run the project, the …
- Sources of FPC 1.9.00
I've installed the FPC 1.9.0 binary rpm from sourceforge, but seems that there is not a source package for this version there. I guess that i can download the sources…
- fpc-1.9.0 problem building lazarus-200311090
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 trying to build lazarus-20031109 using fpc-1.9.0 on linux i386 I tried various values for 'make OPT=', but always the same…
- Internal error 9999 (FPC 1.9.0)1
The following test program doesn't compile under FPC 1.9.0, but it does and works under Kylix 3. I didn't try other Delphi incarnations. The compiler says: $ fpc test3…
- fpc-1.9.0: problems with fpcmake1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello everybody! I just downloaded FPC 1.9 from SourceForge and installed it on my SuSE 8.1 box. During first test…
- Implementing interfaces by delegation1
Hello! What's about the subj? Is this feature planned for 2.0 version? ---------- Ivan Shikhalev http://fpc.by.ru/
- Bug or missing documentation?3
Hello. The code below gives: "foo.pas(13,33) Error: Duplicate identifier NAME" when compiled with -S2. It compiles ok with -Sd though. The thing is, I coudn't find any…
- demo programs for bugreports9
When I submit a bugreport and add a demo program to it I want it to be as useful to you, fpc-developers, as possible. On the website you mention "Generating high quality…
- Compiler runtime error when using WideString character constant1
Hi I am using FreePascal 1.9.0[2003/11/05]. For the following code, the compiler crashes with "Runtime error 216 at 0x004467CA". type RR = record RA : WideString; end;…
- function overloading resolution order question0
Hi How does FreePascal resolve ambigious calls to overloaded functions? For example, if we have two procedures: procedure Test(const X: Integer); overload; procedure…
- Format() incompatibility with Delphi1
Hi What should Format('%d %d %0:d %d', [0, 1, 2, 3]) return ? Delphi help is clear about that : "Setting the index specifier affects all subsequent formatting", so it…
- Operator overloading question.2
Hello. While trying to use the operator overload feature of FPC, I find out a restriction not mentioned on the documentation. One can overload several operators but not…
- FreePascal and AnsiStrings2
Hi FPC developers I see FreePascal uses the following internal format for AnsiStrings: Ptr - 8 : Length Ptr - 4 : Reference Count Ptr : Characters Delphi uses the…
