fpc-pascal · 2016-10
- C translation question19
I’m trying to translate a function from C (taken from http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html) and although I think I got it correctly…
- A serious Memleak using delegates/implements (was: Delegate Interface class does not seem to be referenced counted)47
Tony Whyman had posted on August 10 a problem with the compiler using Delegates. He used a workaround to "solve" his problem and the thread died. So, I coded a new…
- Blind Users9
Have any blind programmers managed to make use of the Lazarus IDE or the FPC command line to write interactive software that will run on the Windows7, 64-bit platform? I…
- JSON Test Suite16
I just stubled acros this JSON test suite. There graph shows plenty of different JSON parsers and how they compare with this test suite. The Free Pascal JSON parser was…
- Missing messages24
Today I had detected that some emails does not reach me in this mailing list, in fact the last ones from "leledumbo" about JSON parsing, but Graeme and Michael ones…
- Does fpdoc sets a particular define ?4
While generating documentation for one of my projects I ran into a bug in fpdoc. It crashes on declarations like this one: ------- type TObjectBlob = class(specialize…
- Can I open XZ compressed text file on the fly?2
I need to analyze log file but its compressed with XZ. Can I open it without decompress it to the file system or can decompress in memory for example into a TStringList?…
- inherited interfaces not seen by queryinterface / supports8
I am a bit perplexed / disappointed to see that the Supports / QueryInterface functions for interfaces are not behaving the way I would expect them to behave, when using…
- what is the possible cause of EPrivilege Privileged instruction ?4
I have a multi threaded program which executes a list of tasks in real time. It is difficult to debug with a debugger on this program (since debugging will pause the…
- fpc 3.0 for ARM (v7l) ?1
I just received a brand new Raspberry 3B. Nice ARM-based quad-core pico-machine (armv7l). I can run on the 3B programs compiled on a Raspberry 2B (armv6l) using the…
- Test file mode question1
I am trying to put together a short program to build a script file. I declare the file as: Uses sysutils; {$H+I-} Var SFile : Text; I then assign a name to the file :…
- importtl tool12
I have noticed, that tool for importing type library into pas incorrectly imports interface methods, which should have "var" parameter. For example in my case imported:…
- Generic way to pre-maturely exit TCustomApplication without memory leaks16
Hi. Is there a way to pre-maturely halt TCustomApplication without causing memory leaks? Say, I have a code, where TH is a Class(TCustomApplication): ph :=…
- Class helper method overloading ?3
is there posibility introduce in class helper method with same name like in base class ? For example: TSQLQueryHelper = class helper for TSQLQuery public procedure…
- 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…
- FPC 3.0.0 and gProf4
are there any known problems with gprof? Mantis says no but when enabling gprof support in my Lazarus project I get a segfault in gmon.c when running it. Any compiler…
- Piping: high level tool? Strong types sent via pipe1
I was thinking: pipes are useful to communicate between processes. How about a high level communication system instead of just sending low level strings over the pipe?…
- Error: Identifier not found "Heap Error"7
As mentioned in a previous e-mail, I'm having my first contact with Pascal during my Masters research, trying to compile a code provided by a professor. The first…
- How to know the encoding of a string?6
Is there a way to know what encoding was used at a string? My system are receiving some files and I don't know the encoding. I would like to know and then, convert it.…
- 3.1.1 documentation in html on the website?4
Can the 3.1.1 documentation be viewed as html on the website? where? The 3.0.0 version is easy to find... but I'd like to see the one under development Thanks! David.
- server down?2
On the bug tracker login page http://mantis.freepascal.org/login_page.php?return=%2Fmy_view_page.php%3F I see this text: Do you already have a login at Free Pascal…
- Compiler option -gt (Trash local variables)3
How well does the -gt compiler option work? Is it worth enabling during debugging? Graeme
- teventobject.create fails with error 16115
Hi, Just wondering if anyone has any ideas. I am using FPC 3.0 by the way. Anyway, I am using a third party SFTP server lib and it creates a thread inherited from…
- The Next Release8
What's the timetable for the next release? Can we assume that all of "trunk" will be in it or will it be more nuanced? Tony Whyman MWA
- Issue 245042
I attached a trivial patch for issue #24504: Dos.FSearch wrong result using joker-signs (http://bugs.freepascal.org/view.php?id=24504) in the bugtracker. Can some devel…
- Smart Link definition ?16
Hello. Who can explain what is smart linking ? I can say that it tells the compiler to remove unneeded symbols but it is only my feeling. There are no explanation in…
- LowerCase vs. UnicodeLowerCase10
I have this simple program (on Windows): uses Classes, SysUtils; var US: UnicodeString; begin US := 'ÁÉÍ'; writeln(LowerCase(US)); // prints ÁÉÍ…
- Build script on Windows4
I’m doing some tests with SDL and I’d like to build the program to work on Windows. I’d like to to automate the build with a script but I can’t seem to figure…
- Using for-loop index variable after loop4
I have always avoided using a for-loop index variable after the loop. I thought its value can be unpredictable in some situations when the compiler reuses its register…
- Re: Debian, Jessie, Linux64 failed to install FPC3.0 64bit0
this one of mirrors i used ftp://gd.tuwien.ac.at/languages/pascal/fpc/dist/3.0.0/x86_64-linux/ I am using last revision of Lazarus, FPC 3.0 on Windows8.1 Best Regards…
- string to widestring : what are the difficulties ?3
In http://www.freepascal.org/docs-html/ref/refsu14.html#x37-400003.2.8 , the stack sized used by a Shortstring is Declared length + 2 . Why not Declared length + 1 ? Is…
- CORBA interfaces: no IInterface and TInterfaceList support1
Why doesn't CORBA have the equivalent of IInterface? I have to resort to creating something like this. type IEmptyInterface = interface…
- fcl-db + IPv6 + Firebird4
A couple of questions... 1. Does fcl-db code support connecting to databases (any DB servers) listening to IPv6 connections? 2. Does anybody know how to tell Firebird…
- Free Pascal - Older Versions3
My name is Luiz and I'm a Masters is my first e-mail in this list. In my Masters research, I've acquired from the author some codes in Pascal, a language I've never…
- test plz ignore0
plz ignore Dimitrios Chr Ioannidis
- Checking the validity of Format and friends at compile-time6
I'm wondering if there is a tool that checks the correctness of calls to Format and friends (like Exception.CreateFmt) in your code. Or does someone plan to write one,…
- Enabling IPv6 for freepascal.org domain1
This image of Arnie (Arnold Schwarzenegger) describes it best. :-) https://cdn.meme.am/instances/59911439.jpg Could the powers that be, please enable IPv6 support for the
- Socket pair6
I've seen that "accept" functions with socket pairs are deprecated. And fpsocketpair returns always -1. How do you get the in and out streams when a server accepts a new
- SetString and result CodePage0
Am I right, when I say, that SetString(S, P, L) sets S code page do declared code page of S ? (So that SetString does not expect, that buffer pointed by P contains…
