Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel

fpc-devel · 2003-11

  1. -Anasmelf on BeOS bug?

    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:…

    BiPolar, Florian Klaempfl
    2
  2. Nested function as argument for TList.Sort

    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 :…

    Pedro Lopez-Cabanillas, Florian Klaempfl, Jonas Maebe
    10
  3. Registry bug

    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,…

    Tamas Konkoly, Marco van de Voort
    1
  4. comment bug

    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

    Tamas Konkoly, Darek Mazur
    2
  5. implicit calls to _addref / _release fail

    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…

    Johannes Berg, Peter Vreman
    1
  6. bugs to close

    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 -…

    Johannes Berg, Florian Klaempfl, Marco van de Voort
    15
  7. Internal Error 8888

    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…

    Carlo Kok, Peter Vreman
    1
  8. FYI: array constructor & string

    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…

    Johannes Berg, Michael Van Canneyt, Peter Vreman
    2
  9. TThread hara-kiri

    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…

    Pedro Lopez-Cabanillas, Exebook.com, Jeff Pohlmeyer
    19
  10. Lack TWMEraseBkgnd in messages

    HI TWMEraseBkgnd is absent in MESSAGES need: TWMEraseBkgnd = packed record Msg: Cardinal; DC: HDC; Unused: Longint; Result: Longint; end; Darek

    Darek Mazur
    0
  11. ipv6 resolving

    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…

    Johannes Berg, Florian Klaempfl, Unknown author
    7
  12. fcl/net doesn't build

    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…

    Johannes Berg, Marco van de Voort, Unknown author
    6
  13. asw.exe

    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…

    Unknown author, Darek Mazur, Marco van de Voort
    3
  14. confusing zlib organisation

    There is a confusing zlib organisation in FP. You have to write: uses {$IFDEF FPC} {$ELSE} {$ENDIF}

    Unknown author
    1
  15. Unit compatibility issue

    Subject: Unit compatibility issue Example: type TBevelCut = (bvNone, bvLowered, bvRaised); Delphi: declared in Controls FPC: declared in Graphics/GraphType;

    Unknown author, Mattias Gaertner
    1
  16. netdb.pp

    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…

    Johannes Berg
    0
  17. IntToHex difference

    Hi A small difference between FreePascal and Delphi's IntToHex function: FreePascal's IntToHex function interprets the Digits parameter as the 'maximum number of…

    David Butler, Johannes Berg
    2
  18. Libc compatibility issue

    Subject: Libc compatibility issue Example: {$IFDEF Kylix} ret := Libc.system(PChar(ACmd)); {$ELSE} ret := Libc.__system(PChar(ACmd)); {$ENDIF}

    Unknown author
    0
  19. Small bugfix for SysUtils.CompareMem

    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,…

    Michalis Kamburelis
    0
  20. ipv6 patch

    Here's a patch to add some IPv6 definitions, I stole them from RFC 2553 :-) Index: inc/socketsh.inc ===================================================================…

    Johannes Berg
    3
  21. TThread bugfix

    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…

    Johannes Berg
    0
  22. DateUtils under Linux

    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.

    Unknown author
    0
  23. promised tthread patch

    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:…

    Johannes Berg, KJK::Hyperion, Marco van de Voort
    25
  24. adding the poll() call

    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…

    Johannes Berg, KJK::Hyperion, Marco van de Voort
    8
  25. Kylix is dead !

    Now, it's semi official: Kylix is dead! http://www.drbob42.com/kylix/index.htm It's your turn, Lazarus(os_target=Linux) !!!

    Unknown author
    0
  26. windres problem

    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…

    Unknown author
    2
  27. threads in linux

    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…

    Johannes Berg, Peter Vreman
    2
  28. linux thread priority mapping

    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) }…

    Johannes Berg, Peter Vreman
    1
  29. make problem

    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…

    Unknown author
    0
  30. (no subject)

    Is there a binary lazarus snapshot too?

    Unknown author, Peter Vreman
    1
  31. Different behavior between Kylix and FPC

    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);…

    Pedro Lopez-Cabanillas, Johann Glaser, Marco van de Voort
    3
  32. Export/import methods: possible?

    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…

    Nikolai Zhubr, Peter Vreman
    2
  33. daily binary snapshots

    daily binary snapshots of fpc and lazarus without source, doc, etc would be useful.

    Unknown author, Peter Vreman
    1
  34. Bug in AssignPipe() on Linux

    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…

    Jeff Pohlmeyer, Florian Klaempfl, GongYu
    16
  35. SHUT_* constants (sockets)

    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/…

    Johannes Berg, Michael Van Canneyt, Unknown author
    3
  36. Building FPC 1.9.1 on BeOS

    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…

    BiPolar, Florian Klaempfl, Marco van de Voort
    4
  37. Fw: fpc1.9.0 beta and lazarus "can not create pipe "problem!

    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 …

    GongYu
    0
  38. Sources of FPC 1.9.0

    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…

    Pedro Lopez-Cabanillas
    0
  39. fpc-1.9.0 problem building lazarus-20031109

    -----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…

    Treeve Jelbert
    0
  40. Internal error 9999 (FPC 1.9.0)

    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…

    Pedro Lopez-Cabanillas, Florian Klaempfl
    1
  41. fpc-1.9.0: problems with fpcmake

    -----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…

    Tobias Diekershoff, Marco van de Voort
    1
  42. Implementing interfaces by delegation

    Hello! What's about the subj? Is this feature planned for 2.0 version? ---------- Ivan Shikhalev http://fpc.by.ru/

    Иван Шихалев, Florian Klaempfl
    1
  43. Bug or missing documentation?

    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…

    BiPolar, Peter Vreman, Unknown author
    3
  44. demo programs for bugreports

    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…

    Vincent Snijders, David Butler, Johannes Berg
    9
  45. Compiler runtime error when using WideString character constant

    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;…

    David Butler, Florian Klaempfl
    1
  46. function overloading resolution order question

    Hi How does FreePascal resolve ambigious calls to overloaded functions? For example, if we have two procedures: procedure Test(const X: Integer); overload; procedure…

    David Butler
    0
  47. Format() incompatibility with Delphi

    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…

    Michalis Kamburelis, Michael Van Canneyt
    1
  48. Operator overloading question.

    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…

    BiPolar, Peter Vreman
    2
  49. FreePascal and AnsiStrings

    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…

    David Butler, Marco van de Voort, Peter Vreman
    2