fpc-pascal
Subscribe to this list Your subscription
Latest threads
- GUIDs under FreeBSD don't seem very random1
I use GUID's as my primary key values in databases. tiOPF uses the following FPC functions to do this CreateGUID(lGUID); Result := GUIDToString(lGUID); I just noticed…
- Synchronize(dummyproc) with Linux.50
This about audio and fpc and fpGUI and LCL and Linux. (working good with Windows) Have some trouble with threads synchronize() procedure. The main thread.execute is a…
- No official FPC 3.0 installer for Solaris9
As the subject line says. I just had a look on SourceForge, and the last Solaris/OpenSolaris/Illumos FPC release is 2.6.4.…
- 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…
- Default type of string literals0
Consider the following program: program stringtypeoverloadproblem; {$mode objfpc}{$H+} uses sysutils; var Foo: String; begin Foo := ConcatPaths(['foo', 'bar']); end.…
- [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…
