fpc-pascal · 2010-08
- How can you convert an enum value to string?12
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 =======================
- Re: Recursion optimization by compiler12
Well, simple to implement and useless optimization :)
- ARM-Cortex port9
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…
- Local procedures as actual procedure parameter in macpas mode11
Trying to compile the following code (porting from MW Pascal) type myObject = object procA (x: integer); procC (procedure procD (var y: myObject)); end; procedure …
- DocView and FPC documentation release5
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…
- inline asm in fpc progran11
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…
- fcl-passrc: Process library source?4
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…
- darwin external library name4
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';…
- make smart doesn't work for cross build5
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…
- How to set a type as a variable?5
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…
- MongoDB Driver for FPC1
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…
- fpGUI Toolkit v0.7 (final release) for FPC 2.41
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…
- Hashmap for integers7
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…
- VTK Libraries from FPC1
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
- AIX Port2
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…
- windows 32bit cross to 64 ?21
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…
- fcl-web webdata example(s) on Windows has some problems5
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…
- OFF TOPIC - how I can migrate of Delphi to FPC14
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-…
- PPUMove usage, follow-up: it works on Linux.2
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…
- how to use ppumove to create a shared library from units?0
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…
- question about FPC heap and threading5
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…
- fpdoc <link> tag syntax question2
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…
- Extended, Currency and TDateTime memory layout9
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…
- Bug: FPC doesn't perform variable substitution in #INCLUDE-preprocessors0
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…
- Ideas for namespace implementation41
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…
- Property Tags7
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…
- FPC 2.5.1 cannot override a virtual method in fpdoc?6
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…
- textmode ide configuration4
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…
- Something like g_object_get() in Pascal?5
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…
- TObjectList works; TFPObjectList gives memory leaks3
Still working on my file indexer: http://bitbucket.org/jb/flocate/changeset/6c6fa90e632e Each search for files creates a TObjectList descendant (TDirectoryEntryList, see…
