fpc-pascal
Subscribe to this list Your subscription
Latest threads
- TimSort20
Is there already a TimSort implementation in fpc? http://en.wikipedia.org/wiki/Timsort Mattias
- Catching math exceptions in a DLL6
Using FPC, I'm writing a DLL that exports functions used by a given host process. In order to protect the host process, it is mandatory that all exceptions are trapped…
- TP 4 to FPC 2.6.0 conversion0
My conversion of TP 4 programs into FPC 2.6.0 to obtain hi res graphics on Win2000 OS is almost complete. My program starts in a VGA type window requesting a keyboard…
- 2.6.0 for Solaris?43
Hi, I was looking to try FPC but I saw the latest release isn't available for Solaris, only 2.4something. Do you guys plan on releasing the new version on Solaris? Do…
- Unicodestrings and Assign(File)35
Is it (already) possible to use Unicodestrings for file paths? I was able to access long paths (with many hundreds of characters) in the windows API functions…
- You can probably ignore this0
It seems I have to post twice or nothing shows up to the list!
- Can't install FPC on mac bookair 10.7.41
Dear I can't install FPC compiler on mac 10.7.3 Please see attachment files Thank you Chovav P.S. -http://www.lazarus.freepascal.org/index.php/topic,16125.0.html
- Darwin i3864
I'm having a hard time with GDB and debugging threads on a OSX 10.7.4 with fpc/trunk The shipped gdb worked great with the exception of threads calling methods via…
- FPMake configure script0
I've been playing with a configuration script for my project some time now. What started as a simple compiled application, it has changed into a instantFPC script. Today…
- Extend multiple classes with same code10
I have 2 objects inherited from the base one T_A = class(TObject); T_B1 = class(T_A); T_B2 = class(T_A); T_B3 = class(T_A); Now if I want to extend T_B1 it is easy to…
- FSplit is deprecated3
unixutil another deprecated function that has not written any hint towards its replacement right behind the 'deprecated' keyword (where it would belong). The RTL…
- Handling with sources and exebutables with different names5
I am compiling CGI modules with Freepascal in commandline mode. if I do: fpc test.pas the result is "test.exe". But the source name needs to be different from the…
- Unicode support1
I wanted to ask what the present state of unicode support is now. I'm running into problems with some various strings. Sometimes when a string contains a unicode…
- Strange compile error6
I have a simple application that uses glut and opencv. However as soon as I add the opencv wrapper unit to the uses clause I get: video.pp(10,1) Fatal: Syntax error,…
- Setting string to be UnicodeString by default8
Is there a way to force the string type to be an alias to UnicodeString instead of AnsiString as it is by default? I tried the obvious "type string = UnicodeString" but…
- Linux sound (especially MIDI) programming: ALSA?7
Has anybody used FPC to control ALSA on Linux? I need to filter a MIDI stream in real time, and handle transposition etc. If anybody knows of useful resources I'd…
- Parsing parameters inside an interpreter7
I trying to build a very small interpreter. I can type commands like: $ add "Luciano de Souza" Somewhere in my code, I can have something like: procedure…
- Adding USB library to FPC0
I have seen several header translations of the various libusb variants (0.1, 1.0 & win32) scattered on the web and forums. I have also noticed several dead links, a…
- FpProfiler patch to compile with fpmake1
I'm not sure if anyone is actively watching the Mantis issues for FpProfiler, so I thought I'll mention it here: I submitted a patch to fix the compilation with fpmake…
- converting c code4
I'm struggling to convert a simple for loop from C to pascal. The code is shown below (as is a trace of the loop parameter values). I'm a bit puzzled how this should…
- FPC and (minimal) telnet0
I'm using the ltelnet unit to good effect in a special-purpose terminal emulator which doesn't merit e.g. Synapse, although since it's not part of the the fcl I'm having…
- FPC + valgrind massif problems4
I wanted to debug where my program uses the most memory. (There are no memory leaks, but I want to optimize memory usage on some large inputs. As the code is quite…
- Runs correctly when debugging.7
I'm working on a wrapper of a C library. I've found a bug, but I can't debug it with GDB because if I compile with "-g" and link with the debug version of the library…
- fpc & arm-embedded interrupts1
I'm working on an embedded-arm application. I do want to use interrupts but I don't find how to easily setup the interrupt-handlers. In the startup code in C, I see…
- SIGFPE with SameValue()4
Hi List. I have discovered the following strange bug/problem. Please check out the following program and tell me which part is right or perhaps what i'm doing wrong in…
- Assigning absolute record to variable1
I hope I can make myself clear. I'm making a driver to control an LCD with an STM32 microcontroller, using fpc-embedded-arm. I want to make my driver re-usable, i.e. I…
- ObjectBinaryToText - how to write only selected property?6
ObjectBinaryToText method can save object structure to string, but how save only some propertys? I could use RTTI and TypeInfo, but ObjectBinaryToText can parse property…
- cross compiler linker issue win32 to Linux0
I have the cross compiler setup(win32 to linux) and I can compile most of my apps just fine except for one that is a daemon and uses cthreads and cmem in the uses. It…
- Reversing bit-order of byte15
I'm porting a driver, originally written in C, for an LCD to be used with an embedded arm-processor (STM32). The original driver uses SPI, my driver will use a USART in…
- InstantFPC and argv25
I'm creating a script to be executed by instantfpc when I noticed that paramstr(0) does not reflect the location of the script but the location of the cached executable.…
