fpc-pascal · 2013-08
- IPC - Persistent Objects - Triplestore1
Does anybody know the best support in Pascal for an RDF triplestore? Is there one written in Pascal? I'm interested in Pascal's interprocess communication (IPC), in…
- ExpandFileName failure on long filenames on Linux16
Before reporting this as a bug, can somebody confirm? program efn; uses sysutils; begin writeln(expandfilename(paramstr(1))); end. If I cd to a directory with a very…
- How to clear the value of a field in a table using parameters?15
I'm trying to do something with a dataset, but I think that isn't possible. Assuming I have the following table: create table users ( id serial not null primary key,…
- what compiler is needed to build a 2.7.1 cross-somewhere compiler1
Ok, if I want to build a 2.7.1 cross-arm-wince (or any other cross), then I first need a native fpc (in my case a win32-i386) Does the native compiler have to be (or…
- has anyone successfully written an app for iOS using Free Pascal and got it approved by Apple Appstore?8
Just want to make sure this path is plausible before I invest more time in it. Thanks a lot. Dennis
- I just signed “Speaker of the Lok Sabha Shrimati Meira Kumar: Send the RTI (Amendment) Bill, 2013 to a Standing Committee/Select Committee ”0
I just signed the petition "Speaker of the Lok Sabha Shrimati Meira Kumar: Send the RTI (Amendment) Bill, 2013 to a Standing Committee/Select Committee " and wanted to…
- Access site from app with login and password using http6
Is there any example to access information on web site that requires authentication with login and password in form using http from a Lazarus application?
- BeagleBone2
Hi ! Have anyone programmed in lazarus to a BeagleBone board ? I´d like to know if the binaries works on that hardware and which kind of applications are possible to be…
- FPC 2.6.2 problem on rapsberry pi0
a longer time ago, i've installed lazarus on my raspberry pi with wheezy. The fpc version was 2.6.0-xxx I could compile without any problem. Today I've downloaded fpc…
- aggpas examples6
I am trying to compile some of the aggpas examples included with lazarus, but I am getting errors upon errors. I have also tried compiling examples against the aggpas…
- compiler -h: -C3 switch1
per "fpc -h" -C3<x>_Turn on ieee error checking for constants it appears like <x> is some kind of parameter However, per compiler sources (and documentation on…
- Lazarus 1.0.12 Release0
The Lazarus team is glad to announce the release of Lazarus 1.0.12. This is a bug fix release, built with fpc 2.6.2. The previous releases 1.0.8 and 1.0.10 were built…
- "class of" variables typecasts0
constructors. Since "class of" was on topic of other thread... Is possible(How?) to perform typecasts like: AClassType(obj); ?? Example: type TClass1 = class(TObject);…
- Embedded ARM7 and long strings5
I am using the FPC compiler to compile embedded ARM7 code (LPC21xx / LPC23xx). For this purpose, I use the 2.05 compiler, and it is working without , because we are…
- Understanding virtual methods13
I am reading this document: http://www.freepascal.org/docs-html/ref/refsu29.html and doing an experiment with the following code: program project1; {$mode objfpc}{$H+}…
- Get 2.6.3 from subverion1
How can i get version 2.6.3 with svn? Is this in: http://svn.freepascal.org/svn/fpc/branches/fixes_2_6 ? Thanks.
- Build Lazarus Ide - On "make bigide": lazaruspackageintf.pas(102, 1) Fatal: Internal error 20130816014
Anyone coud help-me? make bigide make -C packager/registration make[1]: Entrando no diretório…
- Compilation Error At revision 25270.20
svn up make clean export PP=/usr/local/lib/fpc/2.7.1/ppc386 make OVERRIDEVERSIONCHECK=1 NOGDB=1 OPT='-O- -gl -Xs-' all ................................ pp.pas(248)…
- math round vs banker's round15
I have just discovered that the system.round function has this very odd behavior of rounding towards an even number when the fractional part is .5 -- in the system.round…
- User-defined operators and dummy parameters5
Is it possible to pass a dummy parameter to a user-defined operator, with no expectation that it be referenced? The following test program compiles OK but fails at…
- Compiling to Java7
Right now, the reach of fpc (and Lazarus) "Write once compile everywhere" ) is being extended to Android (e.g. by having fpc compile to Dalvik). AFAIK, compiling to…
- When does a reference counted object get freed automatically, and when not?1
I've been exploring interfaces a bit, and fail to understand when automatic destruction of an object is precipitated by the compiler, and when not. Consider the lifetime…
- Library callback : how do I do that?20
I am making a Pascal wrapper for a library, which states in its API description: " Note that the Callback function will be called from an independent child thread, not…
- Trunk compilation broken?3
Just updated to r25228, I can no longer build fpc. 2.6.2 dies with: /usr/bin/ppc386 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix -Fii386 -FE.…
- CustHTTPApp and PUT method9
I'm using FPC 2.6.2 and it doesn't supports PUT method. So, FPC from trunk supports PUT? Thank you! Silvio Clécio My public projects - github.com/silvioprog
- mipsel status/direction?6
After getting fpcup going with a win32=>mipsel cross compiling module, I compiled a hello world type demo program (fpc trunk) which ran fine on an ancient router/modem.…
- i386 code optimization (any good news ?)3
hi just want to know if there are some intentions to add more optimizations for i386 arch because in fpc releases they didn't speak much about optimization , the actual…
- Cannot load libpq.dylib on Mac OS X1
Hello FPC list The following code raises the following exception on a Mac OS X Lion with FPC 2.6.2: ======== $ cat pqconsole.lpr program pqconsole; {$mode objfpc}{$H+}…
- Wince_arm: the naive approach6
I'm fiddling with crosscompiling in fpcup. For Wince ARM, using - cross binaries from ftp://ftp.freepascal.org/pub/fpc/contrib/cross/binutils-2.15.94-win32-arm-wince.zip…
- [ANNOUNCEMENT] fpcup diving deeper into crosscompiling3
fpcup is a program that automates downloading and installing fpc and Lazarus from svn. I've finished the first "real" crosscompiling module [2] for win=>linux i386 using…
- Android and cwstring10
I'm trying to create a library for use in an android application, but i'm having a hard time getting it to work correctly. More specifically i cannot get the library to…
- Re: ++ and -- ( and +=, -=, ...)1
I know I'm out the discussion, but I don't understand why Pascal should include stuff from other languages that doesn't fit the "spirit" of Pascal, as readability (and…
- Automatically exporting C++ API using SWIG??26
The recent thread about using C headers made me think about using C++ projects. Found that the SWIG tool converts C/C++ .h files into glue code and bindings for e.g.…
- ++ and --18
FPC offers the +=, -=, etc., statements swiped from C. Is there any reason why ++ and -- are not similarly supported? I know that we have inc() and dec(), but I'd say…
- ipv6 address convertion0
I need to manipulate an ipv6 address. I need to add some value to the netaddress and replace the hostaddress with another value. E.g. add 2 to the netaddress and replace…
