fpc-pascal · 2015-08
- which GUI (noob)48
I’m new to FPC and researching about different GUI options available to write open-source multi-platform desktop app using FPC… Based on what I’ve found there are…
- FPC 3.0.0-rc1 release66
Hello We have placed the first release candidate of the Free Pascal Compiler version 3.0.0 on our ftp servers. You can help improve the upcoming 3.0.0 release by…
- https support; call for testers16
I've just committed support for SSL in the ssockets unit of FPC. I also made the OpenSSL unit more thread-safe. One consequence of this is that the fphttpclient unit now…
- Lookup fields in databases1
peeking the database code I found that: - a TDataSet has FieldDefs - fields are described by TFieldDef(s) - TField has several special properties like "KeyFields" and…
- "Continue" not work properly in except clause on win642
I'm trying FPC 3.0.0-rc1 and find "Continue" does not work properly in except clause but just jump to finally clause on win64. Here is a sample code:…
- quality of FPC random18
I need to generate random numbers to be used as IV of block ciphers. My question is: is FPC built-in PRNG good enough as comparing to /dev/urandom? On the other hand,…
- Misleading Statement at Comparison Operator Description0
I believe the statement[1] bellow is not accurate: "The result type of a comparison operator is always a boolean." Because this code compiles and works: program Project1;
- FPC's generics implementation2
I have some questions regarding FPC's generics implementation, just out of curiosity. The FPC wiki states that the ppu file stores all the tokens for the generic…
- I-Pascal: IDE based on IntelliJ platform6
I-Pascal is an IDE (mainly code editor) for Object Pascal based on IntelliJ platform. Other products based on the platform includes IDEA, WebStorm, Android Studio.…
- ARM-embedded & Interrupt numbers4
I'm trying to restart my arm-embedded project. A few years ago I had a working compiler, with some utility-files. I made a new cross-compiler (fpc svn 31290). But I…
- fpc svn development version fails to build from source1
Hi I'm trying to build the fpc svn development version on Red Hat Enterprise Linux 6.7. I already have the fpc-2.6.4-1.x86_64, fpc-src-2.6.4-140420.x86_64 and…
- Fatal: Internal error 2003051031
I got "Fatal: Internal error 200305103" while try to compile the attached file on my raspi. The file is a class helper. I wonder if that is supported on FPC 2.6.0 or…
- Cross compiling and debugging Linux-X86 -> Raspberry Pi0
There are new versions of the cross development environment for FPC 3.0.1: http://mseide-msegui.sourceforge.net/pics/crossarm.png…
- Linking error with unit initc on arm14
Cross compiling Linux-x86->eabihf of the program: " program rpiconsole; uses initc; begin end. " produces the messages: " Free Pascal Compiler version 3.0.1 [2015/08/14]…
- Issue with Linking49
So I reset up my Pi and I was able to get the current version of FPC to get as far as the linking stage, at which point it shows this: /usr/bin/ld: warning: link.res…
- Linking FPC units with Visual Studio 2013 projects9
I have to compile a few Pascal units with FPC and add them to a Visual C++ project. After adding system.o to the Visual C++ project, I get linker errors like this:…
- Windows IOT Core9
Did anybody try to compile fpc programs for this variant of Windows 10. It is available for ARM (eg it's said to run on the RasPI) and on Intel (e.g. for the…
- IS operator and library created objects5
Hi! Currently, I'm doing a small program that uses libraries, objects and the operator IS, that is know that this operator fails because of duplication of VMT. Everyone…
- Re: fpc-pascal Digest, Vol 134, Issue 330
As the creator of the bootstrap compiler I would like to add some details: - The package system, where the bootstrap compiler is used, is fink. - completely unsupported…
- Different idea17
Having issues getting cross compiling to work, so here's another idea: What files would I need to move from Lazarus on my computer to the Pi, so it will be able to find…
- Bootstrapping on Mac2
Hi List. I'm trying to build the compiler (svn checkout) from scratch using the bootstrapper binary "ppcuniversal" on a MAC running Mavericks (OS 10.9.x) I start the…
- Cross compile from x86 to Pi27
I think my project is almost done, wanted to see how fast it ran under the Pi which its destined to be on. After spending a long time trying to get it to compile there I…
- shift right operation with variables5
I noticed a strange behavior with the following program: program tt; {$mode objfpc}{$H+} uses sysutils; var res: Integer; mask1, mask2: QWord; begin mask1 :=…
- Persistent list to store objects2
There are several classes which manages lists. TCollection, TObjectlist, TFPGObjectlist... Does someone know if one of then can be saved as a file and reloaded again to…
- FreeBSD and fpc messages.14
Hello. I did a recent update of all libraries in FreeBSD64 to the trunk versions. Now, all the message given by fpc,while compiling, are no more readable. The…
- EAccessViolation3
I have this procedure in my program: procedure DisplayNode (var node:astring); var c, i:integer; begin i:=SizeOf(node); if (i=0) then begin writeln ('node was empty /…
- Copy TJSonArray to Array3
First off thanks to all who have provided help over the past few weeks, I just have one last thing I'm trying to unravel (that I know of currently) and this project…
- Android and Atom1
I seem to have a tablet with Android 5.0 based on an Intel Atom CPU (Z3735F) here. I've got rather a lot of stuff on my plate so I'm putting off playing with this as…
- alignment of records12
I try to port a program from C to Pascal, see the following example: #include <stdio.h> #include <sys/socket.h> #include <linux/if.h> void main() { printf("ifmap=%ld\n",…
- FPC's documentation license?9
Just curious, what is FPC's documentation license? At moment it seems like it doesn't specify any all - which might not be a good idea. I looked in the fpcdocs…
- Object Pascal Handbook8
I’ve just noticed that Object Pascal Handbook (http://www.marcocantu.com/objectpascalhandbook/) is released (avaialable @Amazon) and considering that on the back cover…
- A5 size ref.pdf document0
On 2015-08-07 13:28, Michael Van Canneyt wrote:> Thanks Michael. I tried and it did seem to work. Viewing it on my Kindle, it needed a bit more work. - As you said the…
- Read JSON from file10
For my current project, I download a file from a server that contains JSON code. I'm not sure how to read it into something that GetJSON is able to handle. My first…
- blowfish in fpc1
I would like to know if the FPC implementation of BlowFish is considered secure or not? Especially: 1) Does it has the bug mentioned here:…
- another xml question3
For the app I'm writing, it will have 3 elements in the XML document it reads. The first 2 will only have one child element. The third one will be from 1 to whatever.…
- manipulate tun/tap in free pascal0
Is there any example to write a tun/tap driver (or adapter, whatever) on Linux using free pascal? Thanks!
- Interactive command recognition & mapping to program functions & other 'cli' features as a unit6
I tried piecing something like in $topic together, intended as an 'interactive' command interpreter for my program. (which will in time grow an 'embedded' web server and…
- fprecvfrom for IPv6?1
How can fprecvfrom work with IPv6? It returns the address of the sender in a record sockaddr, which only has space for an IPv4 address.…
- fpdoc HTML class hierarchy output contains duplicates3
Last night I came across something, which I think is a bug in fpdoc's HTML output. In recent times, fpdoc added a new output feature to the HTML generated - a class…
