Sign in Join

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

Mailing lists / fpc-devel

fpc-devel · 2012-08

  1. FPC compiler architecture documentation

    I found this old PDF documenting the FPC compiler architecture. I remember in recent years others attempted to do a similar thing. I don't know how accurate this PDF…

    Graeme Geldenhuys, Florian Klaempfl, Hans-Peter Diettrich
    8
  2. Unicode and Short Strings

    Regarding the discussion of potentially providing the Delphi compatible "String" type with 16 bit characters: What is in this case happening to Short strings. I don't…

    Michael Schnell, Tomas Hajny
    3
  3. What does fpc_ansistr_unique do?

    I was profiling my code, that I noticed that there are about 2M calls to fpc_ansistr_unique function (5% of the CPU time). I could not find any reference to what this…

    Amir, Michael Van Canneyt
    1
  4. FPC trunk broken for arm-wince

    If I compile fpc trunk for arm-wince, I get the following error: Compiling .\fcl-db\src\sqldb\postgres\pqconnection.pp pqconnection.pp(1084,16) Error: Identifier not…

    Vincent Snijders, Zaher Dirkey
    3
  5. cross copiling x86_64 to i386 ?

    I might be doing something wrong. I was trying to build a cross compiler (well I took a script that is to build a arm cross, and only did a search and replace... So…

    Martin, Dimitrios Chr. Ioannidis, Hans-Peter Diettrich
    8
  6. push [rdx]

    Does anyone know if that is valid intel style assembler? push [rdx] FPC complains (on intel /win 64 bit). It's from PascalScript code. (Source\x64.inc) I wonder how to…

    Martin, Sergei Gorelkin
    1
  7. Lazarus 1.0 Release

    The Lazarus team is glad to announce the release of: Lazarus 1.0 At this important stage the current team would like to thank all the past and current people who were…

    Mattias Gaertner
    0
  8. Recent added support for Observer pattern in FCL

    Back in 2010, in the thread about observer support in fcl, i asked if the actions would be customizable so i could, e.g., notify/observe if a child was added or removed…

    Luiz Americo Pereira Camara, Graeme Geldenhuys, Hans-Peter Diettrich
    13
  9. But what /is/ a string?

    I wonder if I could ask a silly question. My understanding is that strings are pretty much unique in not being objects, and relying on a fair amount of compiler and RTL…

    Mark Morgan Lloyd, Anton Kavalenka, Graeme Geldenhuys
    20
  10. Does FPC optimize unused parameters ?

    Out of curiosity. Is there an optimization like this (or is it possible? procedure Foo(a:String; B: Integer); inline; // inline is optional begin // EMPTY end; This is a…

    Martin, Florian Klaempfl, Jonas Maebe
    16
  11. RTL Unicode support

    Here's what I feel necessary for dealing with Unicode in all encodings. The Pos function demonstrates the problems with indexed string access. When automatic conversion…

    Hans-Peter Diettrich, Andrew Brunner
    1
  12. temp strings for constants,and double dec_ref

    While I an open array DebugLn(['abc']); The string constant, is passed directly to the method (no temporary vars used) but ( procedure DebugLn(const s: string = '');…

    Martin, Jonas Maebe
    3
  13. Various 2.6.x "fixes" branches?

    I'm trying to debug a issue I found in a recent 2.6.1 update under Windows. What is the difference between the branches/fixes_2_6 and branches/fixes_2_6_0? - Graeme -…

    Graeme Geldenhuys, Florian Klämpfl, Marco van de Voort
    7
  14. Unicode in the RTL (my ideas)

    ...Continuing the discussion of a Unicode rTL in a new thread as promised... I obviously have lot of issues with the RTL suggestions being thrown around in the past. eg:…

    Graeme Geldenhuys, Daniël Mantione, Felipe Monteiro de Carvalho
    36
  15. Unicode flame

    Dear FPC-all It DOES NOT matter what unicode string (UTF-8 or UTF-16) would be implemented in runtime. Really, does not. Humans are flexible - trust me. Every State…

    Anton Kavalenka, Michael Schnell, Sven Barth
    2
  16. MIPS target: progress report?

    Does anybody have an update on where the MIPS port has got to after the flurry of activity in June? Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above…

    Mark Morgan Lloyd, Fuxin Zhang, Michael Schnell
    5
  17. Unicode resource strings

    In 2008 and 2011 there were threads about FPC and Unicode resource strings with the conclusion that FPC does not support them. Are Unicode resource strings implemented…

    Martin Schreiber, Aleksa Todorovic, Anton Kavalenka
    151
  18. Using environment-variables in fpc.cfg

    I thought that it was possible to use environment-variables in fpc.cfg. But I can't find how. Am I wrong? Joost.

    Joost van der Sluis, Jonas Maebe, Michael Schnell
    2
  19. Bug 18702

    Seems like it that bug 18702 has nothing to do with my changes to the stack-balancing code, and that nested function proc's never functioned well on Windows. The problem…

    Joost van der Sluis
    1
  20. FPC -Rintel and -alr options

    Is there a way to see the generated ".s" assembly files as Intel syntax instead of the AT&T one? The -Rintel flag does not seem to work, or I am doing something wrong.…

    ABorka, Jonas Maebe, Sergei Gorelkin
    10
  21. 64 bit integer result in Win32 problem

    Win32 .exe compiled on Win64 computer, latest SVN build. I am trying to multiply 2 Integers (Declared as LongInt but sometimes need to use it as LongWord) and put the…

    ABorka, Jonas Maebe
    1
  22. arm-wince assembler error

    There’s been a lot of arm-related discussions lately, so I guess this one wouldn’t be hard to solve. The bugreport is here…

    Gennadiy Poryev, Thomas Schatzl
    1
  23. Crosscompiling problem on Win7 64bit

    I was not able to create a cross-compiled version of the SVN trunk FPC for some reason. Win7 64bit (FPC 2.6.0 -> 2.7.1) 1. Brand new system, installed the 2.6.0 FPC OK…

    ABorka, Gennadiy Poryev, Thomas Schatzl
    4
  24. Parallel compilation 'make all -j 5' option

    Does 2.7.1 not use parallel compilation any more? I just compiled 2.7.1 and only noticed that one of my CPU cores got high usage at a time. Some months back I could see…

    Graeme Geldenhuys, Jonas Maebe, Mark Morgan Lloyd
    5
  25. FPC 2.7.1 r22088 fails with compiler error in fpdoc.

    I just got an FPC 2.7.1 update (r22088) and tried to do a new compile. Yes, I am using the released 2.6.0 as starting compiler. I get the following error in the fpdoc…

    Graeme Geldenhuys, Jonas Maebe, Marco van de Voort
    35
  26. targetandroid - x86 as target cpu

    "Note that if you want to try, some time ago android/x86 compiler support has been added (must add -Cfsse3 though to get valid executables)." But one has to specifiy…

    Dennis Spreen, Thomas Schatzl
    18
  27. Unicode version of windows api functions

    I'm looking into adding unicode support for odbconnection. Although the unixodbc and iodbc drivers also support the W versions of the API I would prefer to include the W…

    Ludo Brands, Marco van de Voort
    4
  28. How to set code page in terminal? (Windows)

    I'm trying to write "Atenção" in terminal, but it writes "At├º├úo" instead of "Atenção" (please see http://imagebin.org/217387 ). :( On Linux it's OK. My test…

    silvioprog, Jonas Maebe, Marco van de Voort
    14
  29. supported compiler versions for building stable releases.

    I have long understood that each stable release of freepascal is made to be compilable with the previous release but at a quick glance at the website I couldn't seem to…

    peter green, Jonas Maebe, Marco van de Voort
    2
  30. Problem compiling ARM/linux builds with extra options

    I am currently trying to compile FPC with different options. In particular I am trying to compile a armel build with vfp enabled. However it fails at compiling the…

    Thomas Schatzl
    0
  31. potential issue with symbol info generated by fpc

    http://forum.lazarus.freepascal.org/index.php/topic,17766.0.html I do not know if it is fpc or gdb. But something seems to have changed (or change forward and back) in…

    Martin
    0
  32. nestedprocvar questions

    Some questions about 'nestedprocvars' mode switch We have a simplified version of the nested procedure calling demonstrated in tests/test/tmaclocalprocparam3d.pp. It…

    David Jenkins, Craig Peterson, Jonas Maebe
    4
  33. Please remove unecessary files from FPC

    Please see: http://imagebin.org/223288 Thx. Silvio Clécio My public projects - github.com/silvioprog

    silvioprog, Florian Klämpfl
    1
  34. targetandroid - can't build for armv7, hangs on pooledmm.pp

    I've tested the "new" targetandroid branch, and by using fpc 2.6.0 and making a new fpcmake (taken from the targetandroid branch), I'm able to compile for armv5: make…

    Dennis Spreen, peter green, Thomas Schatzl
    5