Sign in Join

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

Mailing lists / fpc-devel

fpc-devel · 2011-10

  1. Problem with Now() and time changed by ntpd

    I have daemon which uses Now() for getting current date/time, but something is wrong, time on server changed from 03:00 to 02:00 this weekend, but daemon's Now() was on…

    zeljko, Felipe Monteiro de Carvalho, Graeme Geldenhuys
    117
  2. Fatal: Internal error 200512115

    I`ve got this with 2.5.1 & 2.7.1 1) unable to clean reproduce (real code is https://github.com/alexvins/dwscript/tree/628669df8fd349968e7498ab1da617be6c4f3977) 2) error…

    Alexander Shishkin, Jonas Maebe, Sven Barth
    10
  3. Segmentation fault for Firebird exception inside thread

    Hello, this is my first post and I hope this is the correct list for my question. I'm getting a segmentation fault ('violación de segmento' in spanish) when running the…

    Stefan, Jonas Maebe, Joost van der Sluis
    16
  4. [iconv][glibc] function "iconvctl" not found.

    Hi! In new GLIBC exists internal implementation "libiconv" (see http://www.gnu.org/s/hello/manual/libc/glibc-iconv-Implementation.html) Implemented functions: iconv_t…

    4iter, Jonas Maebe, Marco van de Voort
    11
  5. cvarutil: convert variant array of bytes into ansistring ?

    I am now working on fcl-db TBinaryField, which has Value: Variant property. As I understand documentation, this variant should be returned as variant array of bytes.…

    LacaK, Sergei Gorelkin
    2
  6. Wrong assembler generated?

    I was experimenting with gtk3 a bit and a simple program was failing to execute properly. It's very simple: gtk_init(@argc, @argv); WType := gtk_window_get_type();…

    Andrew Haines, Jonas Maebe
    2
  7. Trunk build broken @ mysqlconn.inc

    Can't build ./trunk/FPC with starting compiler 2.4.4+ <SNIP> mysql40conn.pas mysqlconn.inc(700,37) Error: Incompatible types: got "pculong" expected "PLongWord" Please…

    Andrew Brunner, Jonas Maebe, Ludo Brands
    3
  8. Trunk does not compile on Linux x86-64

    Hi, I'm trying to compile trunk on Ubuntu 11.10 x86-64: Linux leonardo-laptop 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux…

    Leonardo M. Ramé, David Welch, Jonas Maebe
    9
  9. target embedded heap.inc

    Has anyone tried the embedded target in a while? rev 19168 there was a change to heap.inc and other files I assume * moved heap manager on embedded systems into a…

    David Welch, Jeppe Græsdal Johansen, Marco van de Voort
    3
  10. FPC Performance: MOVAPD vs MOVSD

    I was reading this article about Delphi XE2 floating point performance. http://delphitools.info/2011/09/02/first-look-at-xe2-floating-point-performance/ Not that I…

    Graeme Geldenhuys, Jonas Maebe, Sergei Gorelkin
    3
  11. Re: Trunk rev 19505 dont compile (fails at fpvectorial)

    You should have only deleted the "units" directory under fpvectorial. Do an "svn update" to restore the missing fpvectorial directory. Jonas

    Jonas Maebe, Luiz Americo Pereira Camara
    3
  12. maximum number of params to function? and misleading error>

    Is there a maximum number of params that a function can take? Before the compiler gives the error: WatchesPrg.pas(274,3) Error: Wrong number of parameters specified for…

    Martin
    0
  13. bug report 20473: Please add a directive to define string=utf8string

    Posting here as this was requested in the bug report: http://bugs.freepascal.org/view.php?id=20473 I think it is very simple: Having such a directive would save a lot of…

    Felipe Monteiro de Carvalho, Alex Shishkin, Craig Peterson
    64
  14. CompareMem slower in FPC 2.4.4

    In my tests, FPC 2.4.4 has much slower CompareMem than FPC 2.4.2, at least for some cases: # with fpc 2.4.4 $ time ./compare_mem_test 100000000 real 0m7.795s…

    Michalis Kamburelis, Florian Klämpfl, José Mejuto
    12
  15. What is the status of SymbianOS ?

    I have a project to develop app also for cellphones, and one of the environment will be Symbian (also iOS and Android). For using it, I need to better understand the…

    ik, Felipe Monteiro de Carvalho, Florian Klämpfl
    2
  16. fcl-web: A proper way to set SO_REUSEADDR socket option in THTTPApplication

    Currently, if THTTPApplication-based program on Linux was stopped manually during active connection I cannot start it again for 1-2 minutes, getting the exception like…

    Vladimir Zhirov, Andrew Brunner, Michael Van Canneyt
    4
  17. Delphi new AnsiStrings are incredibly broken :-(

    After the test program, sent by Paul, I was playing more with AnsiStrings in Delphi XE, with catastrophic results :-( At least when MBCS enter the scene, and UTF-8 is…

    Hans-Peter Diettrich, Michael Schnell, Paul Ishenin
    7
  18. new string - question on usage

    With fpc trunk strings are now codepage aware. I currently face the issue, that lot's of old code just use "var foo: string". or sometimes explicit "ansistring". No idea…

    Martin, Alex Shishkin, Felipe Monteiro de Carvalho
    144
  19. stabs on Mac / relocation issue?

    Is there a known issue on Mac? The following was observed on 2 different 32 bit Mac: compiling from lazarus tests/lazutils/testunicode.lpi with -gs / also entire LCL…

    Martin, Felipe Monteiro de Carvalho, Jonas Maebe
    8
  20. Some questions and proposals about cpstring

    1) Why UTF8String made incompatible with AnsiString(CP_UTF8) ( UTF8String = type AnsiString(CP_UTF8); )? Why not an alias? 2) Same question about RawByteString 3) why…

    Alex Shishkin, Hans-Peter Diettrich, Michael Schnell
    14
  21. OpenBSD compiler

    Hi, I noted that Pierre is updating the OpenBSD port.  Does anyone knows where can I find a bootstraping compiler for this platform?.   Leonardo M. Ramé…

    Leonardo M. Ramé, Jonas Maebe, Marco van de Voort
    24
  22. sysconst error

    I'm having a problem compiling FPC 2.7.1 under linux 64 bit: sysconst.pp(243,7) Error: Wrong number of parameters specified for call to "$fpc_ansistr_sint"…

    ik, Jonas Maebe, Paul Ishenin
    4
  23. new strings, rawbyte type, but what about "raw" encoding

    Just out of curiosity, and without even being sure, if a real use case for something like this ever exists With the new strings, the encoding is part of the data, not…

    Martin, Hans-Peter Diettrich, Marco van de Voort
    11
  24. limited -gc ?

    -gc, is apparently only useful in very limited scenarios, such as applications, that have no interaction with the OS at all, or can otherwise gurantee, never to access…

    Martin, Jonas Maebe, Thaddy
    3
  25. fpc trunk (today) just stops with "Fatal: Compilation aborted"

    Trying to compile lazarus with trunk fpc: Any ideas? make.exe[2]: Entering directory `C:/lazarus_latest/ide' C:/FPC/trunk_gw/bin/i386-win32/fpc.exe -gl -dlclwin32…

    Martin, Michael Schnell, Paul Ishenin
    4
  26. massive slowdown of my code with fpc trunk

    If I run the attached project compiled with fpc trunk (maybe a week old), it runs 5 times slower than when compiled with fpc 2.4.4 First question, can someone else…

    Martin, Michael Van Canneyt
    1
  27. FPGTK for GTK2

    FPGTK seems to be a very easy API for GTK. I would like to use it in stead of the LCL and Lazarus. Does someone know if it is possible to use FPGTK with GTK2. In its…

    luciano de souza
    0
  28. Delphi incompatibly regarding PtrInt and NativeInt

    I got an email from a Delphi XE2 user busy working on a 64-bit patch for tiOPF3. A few things he noted, which I see is different to how FPC done it. Under 64-bit FPC we…

    Graeme Geldenhuys, Marco van de Voort
    1
  29. fpdoc backport request

    I'm not sure where to ask for this, but Michael mentioned that all backports are handled by Marco. So Marco, can the following minor fpdoc fix be backported to FPC 2.6.0…

    Graeme Geldenhuys, Marco van de Voort
    2
  30. Could someone verify this WinCE issue (and maybe check with other FPC versions also)

    ( NOTE : Lazarus & FPC newbie alert ;) ) Test app included in the Bug report (Just use latest trunk version of Lazarus) http://bugs.freepascal.org/view.php?id=20362 As…

    Tommi Prami, Ludo Brands
    9
  31. MIPS

    Felipe and Michael have pointed out to me that David Zhang's mipsel port has been integrated into trunk. Before I start trying to build it, could anybody comment on how…

    Mark Morgan Lloyd, Felipe Monteiro de Carvalho, Florian Klaempfl
    32
  32. utf-8 package in Free Pascal

    I would like to add a new package to Free Pascal into the directory packages/fputf8 which will provide classes and routines for UTF-8 applications. It might grow to…

    Felipe Monteiro de Carvalho, Alexander Klenin, Florian Klämpfl
    32
  33. New Windows gdb-binary

    For all those who are interested in new debug-features of fpc and gdb, I have cross-compiled a gdb-executable for Windows. It's based on the Fedora-16 branch from the…

    Joost van der Sluis, Florian Klämpfl, Leonardo M. Ramé
    25
  34. building fpc / fpmake and multicore cpu ?

    I noticed, when I build fpc, then I get cpu usage between 70% and 100%. So it appears that both cores of my pentium are used. But when a package is compiled using…

    Martin, Graeme Geldenhuys, Joost van der Sluis
    3
  35. Optimization stops near inline asm

    the following code: {$mode objfpc} var a: Integer; begin a := a + 1; asm nop end; end. generates (under -O2): movl U_P$PROGRAM_A,%eax incl %eax movl %eax,U_P$PROGRAM_A…

    Alexander Klenin, Florian Klämpfl, Hans-Peter Diettrich
    5
  36. alignment warnings

    Hi list Thinking more about the alignment problems on arm and elsewhere, I was wondering how hard it would be to implement something like gcc's -Wcast-align. Here's a…

    Henry Vermaak, Florian Klämpfl, Ludo Brands
    6