Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal

fpc-pascal · 2015-08

  1. which GUI (noob)

    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…

    Gour, Ewald, fredvs
    48
  2. FPC 3.0.0-rc1 release

    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…

    Joost van der Sluis, Ched, Florian Klaempfl
    66
  3. https support; call for testers

    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…

    Michael Van Canneyt, Dimitrios Chr. Ioannidis, leledumbo
    16
  4. Lookup fields in databases

    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…

    Marc Santhoff, Michael Van Canneyt
    1
  5. "Continue" not work properly in except clause on win64

    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:…

    Toru Takubo, Sven Barth
    2
  6. quality of FPC random

    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,…

    Xiangrong Fang, Adriaan van Os, David W Noon
    18
  7. Misleading Statement at Comparison Operator Description

    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;

    Daniel Gaspary
    0
  8. FPC's generics implementation

    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…

    Jani Mátyás, Sven Barth
    2
  9. I-Pascal: IDE based on IntelliJ platform

    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.…

    George Bakhtadze, ARGB32, Graeme Geldenhuys
    6
  10. ARM-embedded & Interrupt numbers

    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…

    Koenraad Lelong, Jeppe Johansen, Marc Santhoff
    4
  11. fpc svn development version fails to build from source

    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…

    Roderick Johnstone, Peter
    1
  12. Fatal: Internal error 200305103

    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…

    Xiangrong Fang, Ched
    1
  13. Cross compiling and debugging Linux-X86 -> Raspberry Pi

    There are new versions of the cross development environment for FPC 3.0.1: http://mseide-msegui.sourceforge.net/pics/crossarm.png…

    Martin Schreiber
    0
  14. Linking error with unit initc on arm

    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]…

    Martin Schreiber, Jonas Maebe, Michael Schnell
    14
  15. Issue with Linking

    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…

    Chris Moody, Florian Klaempfl, Graeme Geldenhuys
    49
  16. Linking FPC units with Visual Studio 2013 projects

    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:…

    Unknown author, Michael Schnell, Sven Barth
    9
  17. Windows IOT Core

    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…

    Michael Schnell, Chris Moody, Michael Van Canneyt
    9
  18. IS operator and library created objects

    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…

    Fabio Luis Girardi, Mark Morgan Lloyd, Michael Schnell
    5
  19. Re: fpc-pascal Digest, Vol 134, Issue 33

    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…

    Schindler Karl-Michael
    0
  20. Different idea

    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…

    Chris Moody, Graeme Geldenhuys, Mark Morgan Lloyd
    17
  21. Bootstrapping on Mac

    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…

    Torsten Bonde Christiansen, Jonas Maebe
    2
  22. Cross compile from x86 to Pi

    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…

    Chris Moody, John Lee, Jonas Maebe
    27
  23. shift right operation with variables

    I noticed a strange behavior with the following program: program tt; {$mode objfpc}{$H+} uses sysutils; var res: Integer; mask1, mask2: QWord; begin mask1 :=…

    Xiangrong Fang, Marco van de Voort, Michael Schnell
    5
  24. Persistent list to store objects

    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…

    luciano de souza, Graeme Geldenhuys, Luiz Americo Pereira Camara
    2
  25. FreeBSD and fpc messages.

    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…

    fredvs, Fred van Stappen, Graeme Geldenhuys
    14
  26. EAccessViolation

    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 /…

    Chris Moody, Christo Crause, Michael Van Canneyt
    3
  27. Copy TJSonArray to Array

    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…

    Chris Moody, Michael Van Canneyt
    3
  28. Android and Atom

    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…

    Mark Morgan Lloyd, Sven Barth
    1
  29. alignment of records

    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",…

    Xiangrong Fang, Jonas Maebe, Luca Olivetti
    12
  30. FPC's documentation license?

    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…

    Graeme Geldenhuys, geneb, Gour
    9
  31. Object Pascal Handbook

    I’ve just noticed that Object Pascal Handbook (http://www.marcocantu.com/objectpascalhandbook/) is released (avaialable @Amazon) and considering that on the back cover…

    Gour, Gabor Boros, Germano Rossi
    8
  32. A5 size ref.pdf document

    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…

    Graeme Geldenhuys
    0
  33. Read JSON from file

    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…

    Chris Moody, Felipe Monteiro de Carvalho, leledumbo
    10
  34. blowfish in fpc

    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:…

    Xiangrong Fang, Graeme Geldenhuys
    1
  35. another xml question

    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.…

    Chris Moody, Marc Santhoff
    3
  36. manipulate tun/tap in free pascal

    Is there any example to write a tun/tap driver (or adapter, whatever) on Linux using free pascal? Thanks!

    Xiangrong Fang
    0
  37. Interactive command recognition & mapping to program functions & other 'cli' features as a unit

    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…

    Lukasz Sokol, Mark Morgan Lloyd
    6
  38. fprecvfrom for IPv6?

    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.…

    Klaus Hartnegg, Michael Van Canneyt
    1
  39. fpdoc HTML class hierarchy output contains duplicates

    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…

    Graeme Geldenhuys, Michael Van Canneyt
    3