fpc-pascal · 2012-03
- Win64 and currency4
I encounter strange thing under FPC 2.7.1 and Win64 target. Can anybody test this program: ======================== const test: array[0..0] of currency = (-10); var…
- Request redirection + login session in fpweb4
I'm currently building a web app using HTTP server application project + fpweb + tiopf (with sqlite backend). However, I'm stuck in this scenario: Imagine a user log's…
- Passing a string to open array of string4
Hello. The following program compiles and correctly prints 'something'. Is it something supported or a bug? When I change it to Proc('something') it doesn't compile (as…
- Is there a function that returns UTC time in FPC or Lazarus?5
When I get the time via the DateTime function result is adapted for the timezone, making it an hour ahead now? Is there a function that returns the UTC time, either as a…
- Custom assignment operators1
A few weeks ago somebody (Martin?) suggested I got round an endianness issue by doing this: type WordLE= packed record b0, b1: byte; end; operator := (wle: WordLE):…
- SysUtils.GetEnvironmentVariable23
I think SysUtils.GetEnvironmentVariable has a problem. I tried to use GetEnvironmentVariable on WinXP and Win7. Sometimes works on WinXP, others not. But never worked on…
- Why isn’t SizeOf() allowed in generic arrays?4
Could somebody explain why SizeOf() cannot be used in the definition of generic arrays? I know this is a current limitation of Delphi, but will it be possible to have…
- Database questions re 21579: [Patch] Dbtestframework compilationf fixes for Win647
I've submitted a patch (21579) to allow win64 dbtestframework compilation. It does that by disabling support for some databases. Oracle, PostgreSQL, MS SQL Server and…
- Problems with broken (or unclear) download urls for fpc-solaris3
I wanted to download the latest freepascal for Sparc Solaris . Issue 1: Opened the http://www.freepascal.org/download.var , clicked on the "SPARC Solaris" link. It…
- Extended SVN class available0
Working on fpcup, Ludo Brands and I extended the fppkg SvnCommand unit. Functionality: - detects svn clients automatically (even a few well-known if not in path on…
- FPWebModule: BeforeResponse event?3
I want to do something like this: A base module (call it ModLayout) writes a header, then a descendant module (say Mod1, Mod2 and so on) writes the inner content, ended…
- DBTestframework compilation on Win64: no postgres sonnector1
Trying to compile the db test framework on FPC x64 on windows x64 *), I get a missing PostgreSQL connector: C:\Development\fpctrunk\packages\fcl-db\tests>ppcx64…
- Problems compilng dbtestframework FPC trunk2
FPC trunk, trying to run make in packages\fcl-db\tests\ or compiling dbtestframework.pas directly gives c:/development/fpctrunk/bin/i386-win32/ppc386.exe…
- Network Library2
Hi everyone. I've not posted here before so let me introduce myself. My name is Ian Macintosh and I've been programming in Pascal on and off for some 25 odd years on…
- TSimpleIPCServer bug ?0
found something strange about TSimpleIPCServer (on fpc 2.4.0) PeekMessage doesnt wait the timeout. Is this already solved ?
- Burn a CD14
Anyone knows how burn a CD using the Windows API (should works in XP and Vista)? Marcos Douglas
- ImageMagick: watermark0
Is the ImageMagick (packages\imagemagick) usable to 6.XX version? In Delphi I always used the binaries. But in FPC we have the headers translations so, I want use them.…
- wiki on a new server0
The Free Pascal and Lazarus wiki has been moved to a new server. Also the wiki software has been upgraded to the latest Mediawiki version. Because porting the custom…
- Cygwin dlls in binw320
While fiddling with fpcup and looking at various binutils URLs, I noticed that http://svn.freepascal.org/svn/fpcbuild/trunk/install/binw32/ has cygiconv-2.dll…
- SQLdb: problem using GDB, but do not have memleak20
I was testing the new connector to MSSQL when I found a problem. If I compile and run in console, I have no memleak. Good. But if I put a breakpoint in AConnection.Free;…
- How to handle SIGPIPE4
my app does http transfers using the Synapse library on Windows and Mac OS X. The transfers happen in separate threads. On Mac OS X only, the app is occasionally stopped…
- class of - instance created is wrong8
I've used the Class Of language feature a lot in the past. eg: tiOPF uses it a lot, I use it to generate various reports in our company projects etc. So I tried to…
- @Michael Van Canneyt or others: exporting SQL (issue 19937)4
Good morning Michael & the rest, Would any of you committers who are familiar with SQL check to see if my patch at http://bugs.freepascal.org/view.php?id=19937 is…
- 0
- 0
- makepack broken?1
Are install/makepack script broken? I run it and I got following output: $ export CHECKLIBGDB=no $ export NOGDB=1 $ touch ../doc-pdf.tar.gz $./makepack ... Copying…
- MSEgit 1.00
If you are interested in a FPC-based GPL-ed git frontend, MSEgit 1.0 has been released. Binaries: https://sourceforge.net/projects/mseuniverse/files/msegit/1_0/…
- Real System Make Money Easy 2012 Trend9
Dear Friend; Thousands of people from all over the world are earning substantial incomes from home just by completing simple online surveys. This new system realy work!!!
- compiling 2.6.1 from 2.4.56
I come back to freepascal after one year and I wanted to build all versions from my already installed 2.2.5. Builds: - 2.4.0 from 2.2.5 : OK - 2.4.2 from 2.4.0 : OK -…
- Pointer to temporary string2
Hello. Is storing and using pointers to temporary strings safe? Like in the following program. I think I remember reading on the mailing list that it is not, but I…
- Help0
Help Best regard, Andi.
- Currency and ABS(-674.59)25
I found this problem in Delphi and FPC, please test it and confirm if it is a bug. ------------------- program test_abs_curr; uses sysutils; var a: Currency; begin a :=…
- status of MIPS port1
Whats the status of the MIPS port ? I am currently working on a project called "OpenTik", wich aims at replacing mikrotik's routeros with a completely opensource…
- fpWeb: Error when trying to call a module without an action3
Hello together! As I already said on fpc-devel I'm currently playing around with fcl-web and hit the next problem: I successfully managed to build and run my first…
- FPC Advanced Records9
Can an Advanced Record, i.e. a record which as well as having fields has at least one embedded function, be safely used as a cast or type transfer overlaying…
- xterm -e program-compiled-with-fpc2.4.0 doesn't work12
With the advent of Debian6 fpc 2.4.0-2 has become the only available version. Before that, it may have been 1.0 ? A simple program of mine compiled in 2008 with the old…
- Trim(): incompatibility with Delphi11
Brought up in Lazarus forums. Fpc Trim(): Trim whitespace from the ends of a string. Delphi Trim(): Trims leading and trailing spaces and control characters from a…
- Why can't you cross-compile from x86_64-linux to i386-linux?3
As the subject line says? As can be seen below, i386 is not a supported target. ------------------------------- $ fpc -i Free Pascal Compiler version 2.6.1 Compiler Date…
- FPC & Lazarus GIT mirrors1
Yes, thank you. I was rebuilding two of our servers over the weekend. One server was running the fpc & lazarus git mirror sync scripts. I'm now adding the final touches…
- Variant vs Pointer16
The TField class have the FValueBuffer: Pointer attribute and have also SetData(Buffer: Pointer,...) method that all T***Field subclasses use to set themselves. The…
- How create a full text search with TChmWriter?23
I'm using TChmWriter to pack some html files into a chm file. The index works. I don't have a TOC. Now I want a full text search. I set Writer.FullTextSearch to true, it…
- [ot] Some(paid) work to do in FreePascal0
(Sorry if it's the wrong place to post that, please point my to any list best suited for that) I would like the following tool, coded in FPC for Linux 64, in command…
- Re: Re: Duplicate Identifier17
(Changing the topic to indicate OT) I didn't really take time to figure out whether it "should" be happening or not, I just changed the references not to conflict. If…
- OT: Amazing new development tools19
I found the following amazing lecture that present a new idea of a development tool, that I think will interest you all: http://vimeo.com/36579366 Enjoy Ido
- fpdoc is broken for LINK'ed documentation0
I've been trying to figure this out all morning, and after 2 hours I still can't see why fpdoc doesn't work correctly. I have linked documentation in descendant classes…
- Weird compilation warnings2
FPC is returning the "Warning: cdecl’ared functions have no high parameter" but I have no idea why. The documentation just says "Functions declared with the cdecl…
- Pascal type-parametric definitions1
Why are type-parametric definitions called generics in Pascal? It seems to me their semantics is like templates in C++, not like generics in Java/C# (or ML languages).…
- Functional Pascal2
On Wed, Feb 29, 2012 at 11:31 AM, Sven Barth The main point is to perform some computation whose result is subsequently captured when the nested function is defined…
- Where and how is the FPC documentation created?25
A few months ago I inquired and got some info about FPC docs - discussed in this thread http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-November/068595.html,…
- What is the most widely used Pascal on Linux and other Unix variants?24
What is the most widely used Pascal on Linux and other Unix variants? Is it Free Pascal? Frank Church ======================= http://devblog.brahmancreations.com
