fpc-pascal
Subscribe to this list Your subscription
Latest threads
- hello world5
Folks: Apologies for the beginner nature of this query... why won't this compile? It is the only open file and is saved, looks like a main program to me. program Hello;…
- FPC Text IDE and Alt+F3 shortcut not working0
Under FreeBSD & Linux using Mate Terminal (and xterm)... If I press the Alt+F3 shortcut which should close the current active window, it opens the Options Menu instead.…
- getopts unit vs CustApp parameter handling5
Is the getopts unit deprecated or not recommended for usage? The reason I ask is because I see CustApp has similar functionality to the getopts unit, but the custapp has…
- FCL: moving FastHTMLParser3
Is there any chance of moving “packages/chm/src/fasthtmlparser.pas” to a more publicly accessible location inside the FCL? eg: fcl-base? That way other FCL packages…
- intel vs att asm (fstp instruction) (osx/clang features)3
I'm dealing with the following code (from ZenGL library), targeting OSX --------------- {$mode delphi} procedure m_SinCos( Angle : Single; out s, c : Single ); assembler;
- Property Attributes2
http://wiki.freepascal.org/Property_attributes. <http://wiki.freepascal.org/Property_attributes> 1 - Is there any plans to merge the branch which contains the…
- UnicodeString and surrogate pairs9
Does FPC's RTL (or FCL) include a function to check for UTF-16 surrogate pairs? I'd be very surprised if there isn't, but I have yet to find it in the documentation or…
- Debug and Release RTL & FCL side by side3
I sometimes hit a bug in my applications, but then there is no Stack Trace information, or simply something like 3 entries that don't give much information. See attached…
- FPC can't determine overloaded function to call4
I can't figure out why FPC is struggling with figuring out which overloaded methods to call. This is my application code which FPC has a problem with. type TPDFFloat =…
- Is there a FPC symbol or define for the binary output filename?0
I'm writing a library that needs to be used as statically linked units in an application and also as a stand alone dll/so for use from other software. The library needs…
- Iterator for Unicode encoded strings3
This question really applies for all Unicode encodings (UTF-8, UTF-16 and UTF-32). In the modern world you simply can't use indexed access into Object Pascal strings to…
- FastCGI on Windows IIS16
I'm trying to use FastCGI on IIS without success. https://www.iis.net/configreference/system.webserver/fastcgi My environment is: - FPC 2.6.5 - Lazarus 1.5 - IIS -…
- FPC create unit path2
When I try to compile a test app, I get an error saying the output folder (defined by FU) cannot be created by FPC. I suppose this behaviour is ok? Is there a way to…
- Class/Record helpers on genericd?3
Correct me if I'm wrong, but didn't you add support for class/record helpers on generics? For example I'd like to be able to add methods to dynamic arrays: type…
- FPC 3 regression: cannot use TStringList for UTF-8 data any more?46
disallowing "AnsiString" code for UTF-8 is a huge regression. I use TStringList for UTF-8 strings. This is no longer possible, because automatic conversions cause…
- Unit path search order3
http://www.freepascal.org/docs-html/current/user/usersu7.html#x21-280003.1.2 states: " You can add a directory to the unit search path with the (-Fu (see page 100))…
- c-blocks odd hints0
The compiler seems to generate odd hints: Local absolutevar "FPC_BLOCK_SELF" is not used Here's the code. if Assigned(gc.extendedGamepad) then…
- FCL maskutils incompatible with Delphi8
Last week, a member of Lazarus Brazillian group reported a problem related to the MaskUtils unit. His message (adapted from pt-BR to en-US) was: *"Good afternoon.* *I…
- TPersistent does not call IFPObserved.FPONotifyObservers0
I have a class inheriting from Tpersistent: type TCondition=class( TPersistent, ICondition) var aCondition : TCondition; but surprisingly, when I call…
- Is Generics.collections stable?8
Has Anyone used Generics.Collections at https://github.com/dathox/generics.collections ? Is it stable enough for production use? Dennis
- Build in a C compiler14
That would be great. It is not that difficult. { = begin } = end and the other stuff is quite similar. Pascal and C are close related. It could be made with a compiler…
- Problem using ipc with OSX and fpc 3.0.01
I have a problem with some existing code that compiled with fpc 2.6.4 under OSX and does not compile with fpc 3.0.0. The problem is that the code makes a direct call to…
- Any chance to add the TStringBuilder to FCL?24
Is there any chance to add a class like Delphi's TStringBuilder <http://docwiki.embarcadero.com/Libraries/Seattle/en/System.SysUtils.TStringBuilder> to FCL? It would be…
- fpdoc fixes for FPC 3.0.21
I have some fixes for fpdoc [and more to come] and would like them applied to FPC 3.0.2 if possible. Is there an estimate cut-off date for back-porting fixes to 3.0.2,…
- is there any pascal library of SNTP (Simple Network Time Protocol)?2
I am want to embed the SNTP into my applications so that I don't have to run Dimension 4 or other software to correct my PC Clock. Thanks in advance. Dennis
- STATIC can only be used on non-virtual class methods0
Consider the following code: === test begin === {$MODE DELPHI} TStaticVirtualTest = class sealed(TObject) public class procedure Test; virtual; static; end; class…
- Error: Internal error 2014052302 on changing some common units2
whenever I change the source of a common unit (that is used by many other units), when I compile with lazarus 1.7 +FPC 3.1.1, this error will appear in the messages…
- A better way?33
The most annoying problem I have with Pascal currently is with circular unit dependanices and “global” classes that need to be referenced from many units. In other…
- try..finally vs interfaces performance8
Recently i did some maintenance in a code of a colleague. I realized that he designed several classes with interface support so he do not need to protect the code blocks…
- Initialization in Shared Libraries6
I writting a cross-platform shared library (.dll, .so). I need to initialize some global variables. As the free pascal doesn't support library events (PROCESS_ATTACH,…
