fpc-pascal · 2016-09
- Smart link in FreeBSD multi-arch ?30
Hello. I will try to explain the problem... In a multi-arch system (64 bit system that can run 32 bit apps too) FreeBSD 64, there is problem if a fpc 32 bit application…
- corba interfaces - is/as not working properly21
I'm testing out CORBA interfaces before changing all my code to use them (I would prefer not to have managed types for interfaces). However I am running into a glitch.…
- Socket error when shutting down fpHttpServer0
here is the code (FPC 3.0.0): var Server: TMyServer; procedure HandleSig(sig : cint); cdecl; begin writeln('SIGTERM received'); if (Assigned(Server)) then begin…
- NSTextStorage.paragraphs1
https://developer.apple.com/reference/appkit/nstextstorage/1525943-paragraphs?language=objc It seams to be a simple NSArray, or isn't it? But is a property. I guess that…
- Breaking change in fcl-pdf0
A small warning: There is a small breaking change in the fcl-pdf package: the color parameter in the AddFont() call has been removed. It was ignored anyway and didn't…
- ERESTAPI: TBuckets: unsupported array element type : <looks like empty string>2
I'm testing google cloud storage API with the following simple console program, just to list the buckets: {$mode objfpc}{$H+} uses fphttpwebclient; type TAuthHelper =…
- polYdev release 1.0 with fpc as superstar.4
Hello. polYdev release 1.0 is ready to download. polYdev is a multiarch FreeBSD 10.3 operating system. Thanks to his emulators, polYdev is able to compile and run…
- with no if assigned() there are bugs14
Hi all, I am wondering what your thoughts are on this idea: add the ability to do if assigned() on all objects to prevent bugs, maybe as a compiler feature. Before you…
- Does FCL Image support transparency?7
I want to put watermarks on images in a command line application. This doesn't do the trick: ScaledImage:=TFPCompactImgRGBA8Bit.Create(Width, Height);…
- Does MACRO work in this case?2
Looking an alternative to solve the problem I've talked at this topic <http://lists.freepascal.org/pipermail/fpc-pascal/2016-August/048635.html>, I've tried to solve it…
- Asci853
Hello: I'm trying to use ascii85 packages to decode/encode strings. But I get this weird results: -------------- Original Plain: 123456 Correct Encoded: <~0etOA2)Y~>…
- Reed-Solomon algorithm6
can somebody point me to the algorithm above written in Pascal ? As an alternative, can somebody point me to the algorithm above written in some DLL I could use from FPC…
- Pending fcl-pdf changes0
There are some changes in fcl-pdf that are still not merged to fixes, the new LazReport PDF exporter can only work with FPC trunk without those and it would be nice to…
- Failed to initialize the Application object ?2
Hello. On a FreeBSD 64 system, with Linux 64 emulated, I can run fpc console Linux 64 applications. For example fpc-linux 64 run and compiles perfectly on the emulated…
- pull request: Add missing CTRL keys to wincrt unit5
Somebody made a contribution via my Git mirror of the FPC repository. If somebody is interested in taking a look. The original author was notified that my Git mirror is…
- Linking to Linux on a FreeBSD system with Linux emulated ?37
Hello. In a FreeBSD 64 system with Linux emulated, fpc-linux compiles without problems but at linking there is that message: In ld documentation there is: -memulation…
- log file of the linker ?8
Hello. When linking compiled fpc objects, after few minutes, there is a message from the linker (*ld*): "There was a error while linking. Abort" Does it exist a…
- changes to include file do not trigger recompilation of unit4
a couple days ago I filed this: http://mantis.freepascal.org/view.php?id=30569 In a particular situation (common in my project), making changes to an include file does…
- Free Pascal equivalent of Scratch?1
re: coding clubs for 9-11 year olds. Has anybody thought of, or started working on, a "ide" equivalent of Scratch for Free Pascal? My thinking is something like the…
- Cross platform mobile development10
Coming from the background of a Pascal programmer (on Mac specifically) does anyone have any ideas as to what the best cross platform development environment/language is…
- WinCRT vs CRT0
I am working on a console application that uses the graph unit. I want my graphics window to be the one that accepts keyboard input, I found out that if I just change…
- Pascal interfaces for IPP0
I have created and uploaded FreePascal interfaces for Intel® Integrated Performance Primitives version 9 here <http://adriaan.biz/intel/ipp.pas.zip>. Adriaan van Os
- How to sent totally custom parameters to the linker ?5
Hello. Is it possible to sent new-other parameters to the linker ? Without the use of *-k*<some_paramter>, fpc sent this to the linker: [5.227] (9017) Using util…
- Could someone explain me which the correct triggering of the BeforeDestruction method?5
My question at title seems stupid, but the reason why I've get this doubt is just because it get different results between Free Pascal and Delphi in the following…
- generic way of writing Sets or Enum values to a String3
I use the following code which works fine, and I have many methods like these for all the various Sets and Enum types I used. I would like to reduce my programming…
- How do you build FPC?14
I'm using i386 32bit Linux for most of my development and currently using FPC 2.6.0. I'm trying to understand how to build FPC for various scenarios: Cross-compiling FPC…
- THashedStringList doesn't honour CaseSensitive?2
In my application I stumbled into a problem with a search in a HashedStringList: IndexOfName doesn't return the proper index if the search string doesn't match the name…
- GZip - Stream decompress only in memory22
I have streams compressed using GZip. I get these streams from WebServices. So, how can I decompress these streams only in memory? I've tried to use zstream unit, that…
- Windows console3
Hello: I have a little watchdog utility for windows that runs each five minutes, like a unix cron ("Tareas programadas" in Spanish, scheduled tasks?). It opened a…
- Finding Unsed Variable, Procedures, & Functions2
Is there any way to quickly identify unused variables, procedures & functions within a large project? I'm using FPC 3.0.0 with textmode IDE
- TTestSuite5
In the TTestSuite class when process is finished a XML is written to stdout. If the tests may show some kind of progress information, for manually run tests, this…
- Libraries-search-path of /usr/bin/ld ?5
Hello. How to define the search path of libraries while linking ? In a FreeBSD 64 multiarch system, fpc32 compiles without problems but at linking there is that message:…
- LLVM Backend Support21
What is the current status of the LLVM backend support? Best regards
