fpc-pascal · 2015-12
- buggy debian package3
Debian has a FPC 3.0.0 package called "rc-buggy". https://packages.debian.org/search?keywords=fpc&searchon=names&suite=all§ion=all Is it just me, or does "buggy"…
- what does fpc make target sourceinstall do?2
I have looked at a cook-book description on how to build fpc from sources on RaspBian Linux and there I found these steps (I have left out some other steps non-related…
- [FEATURE REQUEST] Add the `AllowDots` param in the `SysUtils.IsValidIdent()` function0
Please see it here: http://bugs.freepascal.org/view.php?id=29273 Thank you and happy new year! Silvio Clécio
- ideU version 1.0.0.16
Hello. I am happy to present ideU version 1.0.0. ideU is a ide based on MSEide. Multi languages, multi compilers (but fpc is the favorite ;-) ). ideU is totally…
- Request for feedback (Issues #0028370 and #0029150)2
This may not be the right place, and in that case please refer me to the rigth one. Can one of the devels please review the patches for #0028370: Feature request:…
- simple conversion of unicode chars2
I need the simplest possible transfer of one unicode character (numeric string or integer) to the default windows code page (CP1250). Thanks Roman
- Assigning string constant to a WideString and the Format function12
I have a text in the WideString variable. I want to send this text to a SAPI5 synthesizer. I am doing this as follows: WideStr := Format('<pitch…
- FreeGLUT on Windows5
I’m trying to learn some basics of Windows and porting some OpenGL code. The first step is getting an OpenGL context prepared but I’m already stuck here. 1) GLUT is…
- TGZFileStream.Destroy() does not close files?0
Hi everyone! I am currently working through an older codebase in FPC (2.6.4, exclusively on Linux and x86_64 target) that I will have to maintain. My task is to fix some…
- Problem with objects12
Hello: I use fpc 2.6.4 and I have a problem of memory leaks, strange errors, etc. Finally I have tracked it to this: TSimpleArrayString=object List:array of String; end;…
- WideString version of the Format function1
Does FPC standard library have a WideString version of the Format function? Thanks
- Lack of 'volatile' a serious issue. Any other such caveats?17
Hi all: I have fond memories of Turbo Pascal and Delphi, and the latest FreePascal version seems promising enough. When I read that you can also write embedded firmware…
- Blockread blockwrite var vs out parameters13
In functions blockread and blockwrite, the result parameter is "var". And in blockread buffer is also "var". Couldn't they be marked as "out" instead of "var"?. It's not…
- Fwd: Re: Lack of 'volatile' a serious issue. Any other such caveats?0
Yet again - as just confirmed in a follow-up e-mail of the original poster, better keep him in Cc: of your responses. Tomas ---------------------------- Original Message…
- Linker error4
What could be the cause of this linker error: main.pp(6923,23) Warnung: Symbol "CommandLine" ist veraltet /usr/bin/ld.bfd: warning: ../link.res contains output sections;…
- specialize, identifier not found10
Type TRegAlias=record ... end; TArrayAlias=specialize TArray<TRegAlias>; // <==== Error here defconexion.pas(71,14) Error: Identifier not found "specialize"…
- FPC 3.0 vs 2.6.4 under FreeBSD4
Just wanted to say kudos to the Free Pascal team for doing a GREAT job with FPC 3.0. I did a couple of tests and the exact same project with exact same compiler…
- set code page3
Hi is there possible to set codepage {$codepage xxx} to cp_none for example one source file have {$codepage 1250} but rest i need default (without any setting) Darek
- unit for PHostEnt definition1
after a whole night of unsuccessful googling I'm still wondering, which unit(s) I have to use to find a type definition of PHostEnt in linux. I need it for the…
- alternatives for "cwstring" and "cthreads"7
http://www.freepascal.org/docs-html/rtl/cwstring/ http://www.freepascal.org/docs-html/rtl/cthreads/ Both the "cwstring and "cthreads" units (as per the documentation)…
- Writing DLLs to by used in Excel VBA code3
I want to use a DLL writen in Pascal to provide functions for a Excel VBA code: The example code of my DLL is: library CE; {$mode objfpc} uses Sysutils; function…
- FPC 3.0: Where can I find fpc RTL tuned for {$mode DlephiUnicode} ?1
FPC 3.0 Introduces a new $mode : DelphiUnicode, which assumes string = UnicodeString. I'm trying to use this mode and I can't find where RTL string functions for this…
- FPC 3 inclusion for debian/ubuntu?5
Just curious, will the freshly release FPC 3 be included in the current or next release of debian/ubuntu repository? Thanks!
- $B and $BOOLEVAL2
when I use {$B} I get " Warning: Illegal compiler directive "$B"' ". When I use $BOOLEVAL everything is OK. It does not correspond with docs:…
- Where is fpc finding link directories?6
I am having a problem with fpc picking up linking directories on my Raspberry Pi. I have a this lib: /opt/vc/lib/libGLESv2.so When I execute "ldconfig -v" it shows both…
- extreme memory growth using cthreads and default heap manager4
I am experiencing a weird issue regarding threading and shared libraries under Linux. I've boiled it down to a very simple test case in hopes you can help me understand…
- Does SetLength clear its elements to zeros?3
I just tested, SetLength a string does not zero its elements (the chars). However, SetLength a dynamic array seems to zero its elements. I cannot find the official…
- changes in TThread.OnTerminate in fcp-3.0?8
in a couple of programs I'm using this idiom: FMyThread:=TMyTread.Create; FMyThread.FreeOnTerminate:=false; procedure TMyForm.MyThreadTerminate(Sender:TObject); begin…
- FPC Unicode / CodePage aware strings17
"official" Unicode support in FPC has been discussed for so long (years), that I came up with my own solution for fpGUI since 2007 (LCL did the similar) and it still…
- Can fpc 3.0 release be installed using apt-get on Linux Mint?23
I have just created a VMWare virtual machine on my Win7 PC and installed Linux Mint 17.2 Cinnamon in order to do some pascal development. I really do not want to build…
- shell script with root rights and automatic password7
How to do this? I would like to run a script with root rights from an application. The password should be transferred automatically.
- Target Win32 missing8
Hello! Sorry to disturb anyone... Perhaps I just need a little bit more sleep, but I cant find a solution to my problem... When calling fpc from linux command line…
- I thought fpc 3.0 would be compilable from fpc 3.0?6
I thought I read on this list somewhere that FPC version 3.0 would be able to compile itself? I just checked out FPC svn branch fixes 3 0 (version 3.0.1), built using…
- fpdoc project file1
The 3.1.1 fpdoc -h help has some confusing items. Can someone explain them please: --project=file Use file as project file --write-project=file Do not write…
- Unicode file names4
fpcres fails on Windows with paths containing non ASCII characters. The compiler itself happily compiles units. FPC 3.0.0 and 3.1.1. Is that a regression? Mattias
- Searching recursively for units in a path2
On the commandline or in fpc.cfg, I can include search paths as: fpc test.pp -Fu./Componentes But ./Components has a world of subfolders. So I imagine I could indicates…
- FastCGI Threaded Mode1
The fpc's FastCGI supports threaded mode? Regards
- FPC 3.x for Windows and reading UTF-8 encoded text from standard input1
How can I read an UTF-8 encoded text under Windows? My Windows locale uses windows-1250 encoding. It seems to me that a conversion to ansi happens when I am reading from…
- Win32 download still showing 2.6.42
When I go to www.freepascal.org, click Downloads, Intel/i386, Win32.... Only Sourceforge has 3.0.0. Austria, Hungary and Netherlands still show: The latest release…
- FPC 3.0.0 release for FreeBSD 10 reports v3.1.1??1
Did somebody package the wrong FPC version for FreeBSD 10? I just downloaded "fpc-3.0.0.x86_64-freebsd10.tar" from SourceForge and installed in on my system. Running…
- large project Win32 External Linker Error with 3.00
I have a fairly large project, which links against a number of C-written libraries. With 2.6.0-2.6.4, it compiles fine, but with 3.0, it fails to link with:…
- 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…
- Formatting of JSON float values3
I'm storing the following values in a JSON file using values: 23.67, 23.97, 23.87, 10.0 and stored in a JSON object using code as follows: procedure…
- FPC Pestering Peacock (3.0.0) release28
We are happy to announce the release of the Free Pascal Compiler version 3.0.0 "Pestering Peacock". This version includes support for, a.o., several new platforms,…
- FPC fixes 3 0 fails to build on linux arm7
I am attempting to configure Free Pascal 3.0 and Lazarus packages for Raspberry Pi and am running into a failure when making fpc. Here are the steps leading to the…
- Feature announcement: Generic functions, procedures and methods20
Hello together! I'm pleased to finally announce the addition of generic functions, procedures and methods (collectively called "routines") to Free Pascal which allows…
- Cryptography with Blowfish1
What's wrong with this code? I try to cryptograph a file. The compiler doesn't raise errors, but after running the program, no results happen. program test; {$mode…
- Beautifier for freepascal3
I am happy owner of an old Version OREGON PASCAL Compiler (running under Unix 68...), who has also a splendid Beautifier included. With this excellent tool is it…
