fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Mac osx callback functions parameters: wrong values in 386 mode.1
Using control callback function with a control (a button) apparently results in wrong parameter values when compiling to 386 (values are correct compiling to ppc). The…
- Mac OSX callback functions parameters: wrong values for 386 mode.0
Using control callback function with a control (a button) apparently results in wrong parameter values when compiling to 386 (values arecorrect compiling to ppc). The…
- Compile ANSI unit as UTF87
I have unit with Ansi strings but i want to compile it as UTF-8 how to ask the compiler to convert it to utf8 before compile it? Thanks in advance Zaher Dirkey
- FPC and ANSI C2
is there way to share constants between FPC and ANSI C? I writing firmware for device (with Atmel 8bit) using ANSI C, also I writing software for PC (to communicate with…
- SEH1
I was bored and I played around with SEH exceptions. It might be useful in some cases when you can't catch an exception in a dll but there might also be easier methods…
- asm in att mode: SECTION:DISP(BASE, INDEX, SCALE)0
{$asmmode att} asm pushl %fs:0 end; Error: Invalid Reference Syntax I am referring to this: http://www.cs.northwestern.edu/~pdinda/ics-f09/doc/gas-notes.txt Is this…
- address of a label (possibly stupid question)0
I have a probably stupid question, experienced assembler programmers will probably laugh but here is my problem: I am trying to push the address of a label onto the…
- How do you test for set membership?3
I have this code: type dbgOptions = (dbgAMI, dbgRemoteLinks); var dbgActiveOptions: set of dbgOptions; procedure SetupDefaultvars; begin dbgActiveOptions := []; end;…
- Migrating this mailing list to Nabble21
Any administrator that registers this mailing list to Nabble, would you mind upgrading to Nabble2? The request can be put here:…
- 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…
- Thread problem0
I'm trying to write console program using thread but have several problems. I have already posted them to Lazarus forum: 1)…
- TreeView and Nonrecursion6
A Newbie question :-) Is it possible to fill TreeView (tree is naturally recursive) with a nonrecursive/iterative thinking paradigm? Are there some good examples…
- PC/SC6
Hi! For a project with wireless chip cards (MiFare) I'm using a reader which is accessed via the PC/SC interface. Did anybody write a Pascal unit to translate the C…
- ReadLine history works in windows/cmd.exe but not in bash/linux6
Hi. I have simple console application: program test; var s : string; begin while s 'q' do readln(s); end. I compiled it in windows (FPC 2.4.0), run it in cmd.exe and I…
- 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-…
