fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Documentation bug - Language Ref - Ordinal types1
According to this HTML page: https://freepascal.org/docs-html/ref/refsu4.html The data types Byte, Word and Cardinal (LongWord) has the following ranges: 128..255 Byte…
- heaptrc unit troubles with New() & Dispose() calls2
Are there any known issues with heaptrc unit via compiler parameters -gl -gh, when using New() and Dispose() to manually allocate and free memory. I helped someone debug…
- TurboVision is reborn as FOSS (again)30
https://github.com/magiblot/tvision Someone enterprising could make a TurboPascal clone out of FPC. :-) Liam Proven – Profile: https://about.me/liamproven Email: –…
- FCL-DB Classes Implementation.6
Are there plans to implement TArrayField, TADTField, TReferenceField, TDatasetField classes in fcl-db package? Thank you. Regards. Ioulianos Kakoulidis.
- Selecting Records with a variable14
The best way to explain what I'm hoping to do is by example... Say I have this record: Type Axis_Record = Record X,Y,Z,A,B,C : Double; End; Var AxisValue :…
- callback from c with varargs6
I'm trying to use a c library where I can define a logging plugin. The c prototype for the callback is void (*log)(void *logContext, UA_LogLevel level, UA_LogCategory…
- Initialization of constant record member of pointer type16
is there a way how to initialize record member of pointer type (other than PChar) in the following example: type TMyRec=record a: PByte; // if I change PByte…
- Error compiling on AROS/m68k: 1980-0-0 is not a valid date specification6
I've trying FPC on an Vampire 4 SA machine with ApolloOS/AROS m68k. Whenever I try to compile a pascal program (simple "Hello World" style) the compiler stopps with an…
- An idea for a "pair" type3
Just for fun I wanted to see what people thought about a potential "pair" type added to the compiler. Dictionaries have proven themselves to be a fundamental type we use…
- netdb, TCP, and DNS queries4
Following up on the work I've being doing to add support for DNS queries over TCP to netdb and to add support for querying all of the standard resource types such as MX,…
- Range Check runtime errors4
I was recently troubleshooting a program that got a range check error and had quite a time figuring it out... it gave me the line number that generated the error... but…
- How to get the current translation of a resource string?7
Since I want to treat a specific exception that cannot be distinguished by the class alone but only by the class and message, I need to find the current translation of…
- New User2
I have just discover FreePascal and compiled FPC from source. I must say it look very good. I did a software engineering course in the UK Open University, in the 1980s,…
- Daily docs1
I finally decided to tackle something which was on my TODO list for many years. They are accessible from this page: https://www.freepascal.org/daily/daily.html This is…
- Compilation speed on Apple M121
first and foremost, many thanks to the creators and contributors of FPC and Lazarus, who enabled me to release my product natively for Apple Silicon only one day after…
- I'm working on automated Help Output for console apps14
I'm working on a automated help output writer(s) for console apps. Thus no more tedious and ugly output when you do: myapp -h My aims: * I write a lot of console apps,…
- fpmmap problem 64 bit linux3
A 32 bit freepascal program on a 32 bit Linux Debian system is working properly. It uses fpmmap for getting the adress of a kms framebuffer. The same 32 bit program on a…
- Graphing library7
I am looking for a simple to use non-visual graphing library to produce x-y plots in a raster file format (similar to how pyplot works). Rather than developing…
- PTC Graph - Custom window sizes6
I've been using PTCGraph from PTCPas and so far I can only use windows sizes that there happens to be a display driver for, even if they are in a window.. so I can make…
- link.res search dirs when cross compiling4
where do the SEARCH_DIRs in link.res come from? My build has started failing, after trying it on a new computer with…
- Access Violation on second compile with FPC Text IDE3
I'm suddenly getting an access violation when compiling after a file changed with the FPC text IDE: Recompiling because of I:\Programming\Gcode\Mill\pastep.pas…
- fppdf textwidth1
This has probably been asked before but I can't find the answer. How to get the text width of a string? I see code for the standard pdf fonts, but all these functions are
- CRT unit and bug #325581
I have some difficulties using the crt unit. For what I can see, https://bugs.freepascal.org/view.php?id=32558 could well be the answer, specialy a call like…
- Generics in Objective Pascal?3
I'd like to have a generic objcclass that would add some extra functionality for multiple base types. I don't have a lot of experience with generics, but this compiles:
- FPC 3.2fixes UTF8Decode strange place1
rtl/inc/ustrings.inc as well as the two existing branches will result in the same Yes, it was my point B. @/José Mejuto, can you pls simplify this place, ie remove "if…
- TypeInfo on generic templates3
Is it possible that the TypeInfo intrinsic could work with generic template types or is this a bug? I get "Illegal qualifier" in the procedure below. generic procedure…
- FPC 3.2fixes UTF8Decode strange place4
rtl/inc/ustrings.inc function UTF8ToUnicode(Dest: PUnicodeChar; MaxDestChars: SizeUInt; Source: PChar; SourceBytes: SizeUInt): SizeUInt; a) it has "If (PreChar13) and…
- Lazarus complains that it cannot find a dependency, why?7
I get an error message when building a project after updating from SVN to get the sources that build fine on another RPi4 identical in configuration. "Fatal: Cannot find…
- Is lazarus list down?2
I have not gotten any new posts on the Lazarus list since 2 weeks now (last seen was Oct 8th). Has it been stopped or is there a Gmane connectivity issue? I am…
- New package to evaluate Pascal-expressions2
Working on fpDebug, I've got onto a side-track and created an expression-evaluator based on fcl-passrc <http://lazarussupport.com/fpc-expression-evaluator/>. So that you…
