Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2010-08

  1. How can you convert an enum value to string?

    Is there a subroutine that can convert an enum value to a strings, so that I can do something like ShowMessage(EnumToStr(enumValue))? Frank Church =======================

    Frank Church, Graeme Geldenhuys, Howard Page-Clark
    12
  2. Re: Recursion optimization by compiler

    Well, simple to implement and useless optimization :)

    Florian Klämpfl, Bihar Anwar, José Mejuto
    12
  3. ARM-Cortex port

    I know that FPC works under ARM+Linux. Is this also true for the Cortex version of ARM? One of our major applications is written in C++ simply because it is to run in…

    Andreas Berger, Florian Klaempfl, Florian Klämpfl
    9
  4. Local procedures as actual procedure parameter in macpas mode

    Trying to compile the following code (porting from MW Pascal) type myObject = object procA (x: integer); procC (procedure procD (var y: myObject)); end; procedure …

    Unknown author, Adriaan van Os, Alberto Narduzzi
    11
  5. DocView and FPC documentation release

    I am pleased to announce that fpGUI's DocView is available for download in a convenient binary executable from fpGUI's SourceForge project page. See the URL below. I…

    Graeme Geldenhuys, Marco van de Voort, Tomas Hajny
    5
  6. inline asm in fpc progran

    Hi May I have some help in this code ? I am on arm-linux-uclibc. Compiling using :- # ppcrossarm -MObjFPC -TLinux -Parmv5 -gl -Xd -Xs -l -darm…

    Nataraj S Narayan, Jeppe Johansen, Jonas Maebe
    11
  7. fcl-passrc: Process library source?

    Hi! At time I'm playing around with fcl-passrc to automate some actions I have to perform with the source code. Unfortunately, FCL-PASSRC does not process the source of…

    Matthias Klumpp, dmitry boyarintsev, Graeme Geldenhuys
    4
  8. darwin external library name

    Hi All Is it expected behavior, that explicitly set library name is not used in linking for Drawin target (fpc 2.5.1)? function SomeFunc: Integer; external 'LibName';…

    dmitry boyarintsev, Jonas Maebe
    4
  9. make smart doesn't work for cross build

    I want to build a smartlinked (stripped and optimized as well) version of fpc for win64 from win32, so I call: make all smart STRIP=1 OPTIMIZE=1 OS_TARGET=win64…

    leledumbo, Florian Klämpfl, Jonas Maebe
    5
  10. How to set a type as a variable?

    I did this kind of thing some time ago, but have forgotten the details. Let us say you have something like TBaseType(Variable).Method, you want to let TBaseType be a…

    Frank Church, Anthony Walter, Felipe Monteiro de Carvalho
    5
  11. MongoDB Driver for FPC

    Recently I've started using MongoDB a lot in several projects where Document Based database makes life easier then schema based databases (SQL mostly). I have a small…

    ik, Bee Jay
    1
  12. fpGUI Toolkit v0.7 (final release) for FPC 2.4

    fpGUI v0.7 is finally available ------------------------------- This was a long wait since the previous v0.6 release, but v0.7 is well with it with loads of new features…

    Graeme Geldenhuys, Mark Emerson
    1
  13. Hashmap for integers

    Hi Is there an implementation of a hash map where the keys are integers. It is needed when the integers are too big for a lookup array. I only need check the existence…

    Juha Manninen (gmail, Andreas Schneider, Jeppe Johansen
    7
  14. VTK Libraries from FPC

    Hi, does anyone knows if there's an Pascal (FPC or Delphi) wrapper for the VTK libraries (http://www.vtk.org) ?. Leonardo M. Ramé http://leonardorame.blogspot.co

    Leonardo M. Ramé, Michael Van Canneyt
    1
  15. AIX Port

    Team I would like to use fpc for some heavy batch processing with database connectivity to db2 on an aix platform I'd rather stay binary than go byte code. What would it…

    Refr Bruhl, Jonas Maebe
    2
  16. windows 32bit cross to 64 ?

    I am sure that question must have been ask a 1000 times, and somewhere must be a tutorial.... but Google only brought me to a page on the wiki, that describes how to do…

    Martin, dmitry boyarintsev, Florian Klaempfl
    21
  17. fcl-web webdata example(s) on Windows has some problems

    WinXP 32, FPC and Lazarus latest SVN checkout. I was trying to play a little bit with the promising new fcl-web webdata features to see how JSON/EXTJS works with…

    ABorka, Michael Van Canneyt
    5
  18. OFF TOPIC - how I can migrate of Delphi to FPC

    I would like to ask you some questions about how I can migrate, ultimately, of Delphi to FPC. These questions will help me and my friends that working with Delphi. 1-…

    Marcos Douglas, Andreas Schneider, Graeme Geldenhuys
    14
  19. PPUMove usage, follow-up: it works on Linux.

    This is a follow-up message on yesterday's about making shared libraries with units, using the ppumove tool. Trying the ppumove procedure on an Ubuntu platform works…

    Unknown author, Jonas Maebe
    2
  20. how to use ppumove to create a shared library from units?

    I'm trying to use ppumove as described in the documentation to create a shared library from a set of FPC units. This is different from creating a DLL by specifying the…

    Unknown author
    0
  21. question about FPC heap and threading

    These are very simple questions, but I just want to make sure a few of my assumptions are correct: 1. The default FPC heap manager uses one heap per thread, right? I am…

    Seth Grover, Jonas Maebe, Mark Morgan Lloyd
    5
  22. fpdoc <link> tag syntax question

    I read the fpdoc documentation, and think I understand it correctly, but would just like to confirm. For fpGUI's class documentation, it uses a single 'fpgui' package in…

    Graeme Geldenhuys, Michael Van Canneyt
    2
  23. Extended, Currency and TDateTime memory layout

    I am interfacing with a server written in Delphi via network and it sends over data. The server sends some data types, and among the hardest ones to read are Currency…

    Felipe Monteiro de Carvalho, Bart, Marc Weustink
    9
  24. Bug: FPC doesn't perform variable substitution in #INCLUDE-preprocessors

    Since the bug reporting system keeps rejecting my login, I'm posting here about this bug. I want to have per-project configuration files yet still let the global one…

    Jetcheng Chu
    0
  25. Ideas for namespace implementation

    As I stated in another thread, namespaces are not perfect, but they do work, and they do greatly reduce the chances for unitname or classname conflicts. Other languages…

    Graeme Geldenhuys, Anthony Walter, Joël Thieffry
    41
  26. Property Tags

    Hello ! I'm writing a ActiveRecord system for Freepascal (Something similar to what RubyOnRails do), and i am having some problems (I'm not following MVC logic, more of…

    Jorge Aldo G. de F. Junior, leledumbo, Marco van de Voort
    7
  27. FPC 2.5.1 cannot override a virtual method in fpdoc?

    I'm trying to apply my final changes to the new Linear IPF writer for fpdoc. I updated to the latest FPC 2.5.1 today. Did a make clean and build the whole FPC 2.5.1 for…

    Graeme Geldenhuys, Michael Van Canneyt
    6
  28. textmode ide configuration

    quick question: where does the textmode IDE store its configuration? It seems I have messed up something but I cant find any configuration at the obvious places where I…

    Bernd Kreuss, david adam, Jonas Maebe
    4
  29. Something like g_object_get() in Pascal?

    Hello! I have a record containing a set of variables. This record should now be accessed from an application developed in C (through a shared library). Because Pascal…

    Matthias Klumpp, Bernd Kreuss, Felipe Monteiro de Carvalho
    5
  30. TObjectList works; TFPObjectList gives memory leaks

    Still working on my file indexer: http://bitbucket.org/jb/flocate/changeset/6c6fa90e632e Each search for files creates a TObjectList descendant (TDirectoryEntryList, see…

    Jim, Marco van de Voort
    3