fpc-pascal
Subscribe to this list Your subscription
Latest threads
- SSE instructions1
Are there any plans to add support for SSE intrinsic instructions, similar to MMX?
- generic class helper and class references1
While playing with generics (ref. class inheritance and type incompatibility), I have an idea to use "generic class helper" to overcome the problem that generic methods…
- Constants and proc types1
why I cannot compile this (FPC 2.7.1) type tproc_type=procedure; procedure xxx; begin end; procedure yyy; begin end; const type_list:array [0..1]of…
- MSEide+MSEgui 3.02
MSEide+MSEgui version 3.0 has been released: http://sourceforge.net/projects/mseide-msegui/ Have a lot of fun! Martin
- TIP: fcl-web [trunk] usage with FPC 2.6.23
I've been in a private conversation with Michael van Canneyt about fcl-web changes. He was kind enough to oblige with my requests. In due time those changes should make…
- StrUtils.RomanToInt oddities47
RomanToInt acceps rather ludicrous values: RomanToInt('MDCLXVIVXLDM') = 2209 RomanToInt('IIIIM') = 1002 //calculated as 3 + (1000-1) Both examples represent invalid…
- where is the sqlite3.so located in debian?2
In debian, I have already apt-get install sqlite3 and I can execute the command sqlite3 freely. I know it is located in /usr/bin/ but I cannot find sqlite3.so to passed…
- RFD: CardDAV support library for FreePascal, call for ideas16
since I have not found anything on CardDAV related/written in/for FreePascal/Lazarus, (haven't googled with Delphi keyword thou) I'd like to send out some smoke signals,…
- Memory leak in PascalScript0
Can you help me to fix this issue?: https://github.com/remobjects/pascalscript/issues/61 Thank you! Silvio Clécio My public projects - github.com/silvioprog
- record byte alignment1
I wonder what is the byte alignment of a NON-packed record? Is it always 4-byte, or 4-byte on 32-bit platform, 8-byte or 64-bit platform? Xiangrong
- Incompatible type for generics?8
I wrote a TTree generic class, the code is here: https://github.com/xrfang/fpcollection/blob/master/src/units/tree.pas While using this class, I encountered the…
- RTTI Attributes1
I did some google searching which turned up very little so I decided to ask my question here. What is the current status of custom RTTI attributes in fpc trunk? Fot…
- Re: Problems reading some of the messages from this mailing list2
From: "Tomas Hajny" So I can't do anything, can I? Unfortunatelly there are more users that sends their e-mail that way, specially chinese ones. Thanks. Guillermo…
- Re: Problems reading some of the messages from this mailing list2
Sorry, Philippe, but I can't read your messages. :(
- FPC happily eats wrong parameters5
When calling "fpc -d foo test.pas" there are two mistakes: First the -d parameter is missing a value, which fpc silently ignores. And second there are two files to…
- Is it possible to know the data type of a specialized generics class?4
say, I have a class TTree<T>; in the destructor of that class, is it possible to know the actual type of T? I want to do things like: generic TTree<T> = class public…
- Socket error messages3
How does one convert from the numeric value returned by SocketError to the name of the error (specifically, to e.g. EsockEINVAL rather than EsysEINVAL, i.e. to be in…
- function param and TVarRec3
If you declare this: procedure proc(param: array of const); Then you can pass any type of varaible to param, however, only in an array, such as proc([1, 2]); Is it…
- Problems reading some of the messages from this mailing list3
I'm receiving some of the messages from this mailing list coding in an odd format: A block of characters and digits without any sense. For example, the one I quoted at…
- FPCUnit test + raise E;12
1) I have a code like that: procedure TghSQLConnector.Connect; begin try FLib.Connect; except on E: Exception do DoOnException(E); end; end;…
- Clone a instance of object22
I have objects (classes) derived from base one TBaseObject = class(TObject) public constructor Create; virtual; function Clone:TBaseObject; end; TMyObject =…
- Nested comments4
I realized FPC supports nested {} comments by default. SynPdf, a Synopse PDF engine http://synopse.info/fossil/wiki?name=PDF+Engine has '{' characters inside comments…
- bridging an C++ shared library statically8
I need to use a C++ so file in FreePascal. I have written a C wrapper for it, which successfully connected to Pascal. Now my question is, can I use the $linklib…
- represent data string in hex?11
i have a static array of strings that i need to fill as hex bytes... i can do this in decimal but it would be easier to convert other data if i can do it in hex since…
- Bug in $linklib?1
I use $linklib to link my fpc program with a C++ so file. I found that the $linklib directive does NOT conform with ld specification. This is what I did and found:…
- FPCUP Windows now has Go32V2 cross compiling support4
Recent posts have lead me to look again at my FPC/Lazarus downloader/compiler fpcup [1] to see if I could get cross compiling going from win64 or win64 to Go32v2. This…
- lnet for TCP daemon52
Is it feasible to use lnet for a simple TCP daemon on Linux, i.e. wait for a connection on a predefined port, read as much data as is available, repeat? And if so, what…
- Error linking with C code4
I am writing pascal wrapper for a C library called "CTP", which is used in future trading. My project is here: https://github.com/xrfang/CTPas Compiling the interface…
- Generic TFPGList<Record Type> gives me compiler error: Operator is not overloaded6
I have this: uses fgl; Type RScene=record ID : Word; Name, Category : String; end; TSceneList=specialize TFPGList<RScene>; The error is: Operator is not overloaded:…
- FPC GO32 2.6.2 wrong result from SecondsBetween5
I am doing something wrong? When I encode the date and time then for SecondsBetween I get 59 instead of 60 and for MilliSecondsBetween also. When I encode only time then…
