Just testing, please ignore.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On 21/02/2025 02:26, Hairy Pixels via fpc-pascal wrote:
What do you mean? like syntax styling?
Hi Ryan,
I'm looking for a diff tool that would show
a/ foo := false;
b/ foo := true;
as differences worth reporting,
but would suppress
a/ Foo := False;
b/ foo := false;
as these changes have
On 21/02/2025 01:33, Wayne Sherman via fpc-pascal wrote:
Peter B wrote:
I'm wondering if there is any diff tool out there,
that caters for Pascal syntax, so can filter out
the noise from reformatting etc.
Beyond Compare
https://www.scootersoftware.com/
(30-day free trial, but well worth buying
Hi,
Is there any way to obtain a backtrace
from exceptions thrown in a shared library?
I've tried using DumpExceptionCallStack
https://wiki.freepascal.org/Logging_exceptions
but the problem is that ExceptFrameCount is zero.
There does not seem to be any stack at all.
No hexadecimal addresses,
Hi,
I'm wondering if there is any diff tool out there,
that caters for Pascal syntax, so can filter out
the noise from reformatting etc.
I found difftastic. It has an option for Pascal,
but is case sensitive which rather defeats the object!
Regards,
Peter
___
On 08/01/2025 17:02, M B via fpc-pascal wrote:
I have googled for a reader for this format but can't find one.
I found a web page claiming to read this format but it didn't work.
Am I misunderstanding something? The file is under /docs/quick_guide
in the repository. for fpGUI on github.
Rega
On 21/10/2024 05:18, Gordon Findlay via fpc-pascal wrote:
- distros sometimes have quite old versions in their repos. For example my
opensuse machine right now is offering Lazarus 2.2.
openSUSE (Tumbleweed) is on 3.6,
as are most/all of the other rolling distributions
https://repology.org/pro
On 20/10/2024 22:17, ppadilcdx--- via fpc-pascal wrote:
I’m a little confused by some references in the docs. Hopefully I can explain
it clearly.
Looking at TFPGList in fgl. The Sort method refers to a TCompareFunc (it does
not link to its definition). TFPGList says it’s methods are the same a
On 17/10/2024 08:29, Nikolay Nikolov via fpc-pascal wrote:
I also agree. Unfortunately, as I said, compiler developers don't make
good web designers.
Examples for bad sites (I'm repeating myself, I know):
https://gcc.gnu.org/
https://llvm.org/
Hi Nikolay,
and are these compiler suites w
On 22/02/2024 14:22, Jean SUZINEAU via fpc-pascal wrote:
As far as I know Extended is not supported on Linux.
This is wrong, sorry. I'm using Extended on Linux and it works just fine.
Cheers,
Peter
___
fpc-pascal maillist - fpc-pascal@lists.freep
On 07/01/2024 16:07, James Richters via fpc-pascal wrote:
Try building with smartlinking, -XX
I never knew there was an option for smartlinking. I'm using the FPC text
IDE, I see various options like
Generate Smaller Code, and level 1, 2, and 3 optimizations, but I don't see
anything specifica
Try building with smartlinking, -XX
I get 35k
Thats with 3.2.2 on linux
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On 06/01/2024 19:05, Matthew Phillips via fpc-pascal wrote:
I compiled the Hello World program from the docs and noticed that it's
435k. Compared to a lot of newer languages, like Golang, that's not bad
at all.
I then compiled the equivalent C program with gcc which came out at
33k. So I'm just
On 19/12/2023 11:36, James Richters via fpc-pascal wrote:
I did notice that I cannot have a file of Ansistrings…
Myfile : File of Ansistring;
Causes a compiler error:
Error: Typed files cannot contain reference-counted types.
I would just define the file as 'Text'.
Can then Readln into an
Can you compile the crashing program with -gl ?
That should give you a useful stack dump with line numbers.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On 16/06/2023 11:55, Giuliano Colla via fpc-pascal wrote:
Is that the intended behavior of compiler?
Yes. Assigning a 64bit integer to a 32bit one is fine as long as the range is
within bounds.
Range of a variable can only be checked at run time.
___
On 14/06/2023 14:20, Hairy Pixels via fpc-pascal wrote:
I was curious, if you had a Pascal (short) string and it was going to be passed
around often would that be slower than using an AnsiString since its size is
that of a pointer? I always prefer short strings when I know the length will be
l
On 23/05/2023 01:14, Mikael Backman via fpc-pascal wrote:
Hi,
basic questions here.
Is there any way to decide the number of elements in a set?
there any way to traverse the elements in a set?
Regards Mikael
___
fpc-pascal maillist - fpc-pascal@l
On 24/03/2023 14:29, Martin Frb via fpc-pascal wrote:
On 24/03/2023 15:04, Benito van der Zander via fpc-pascal wrote:
why is a pointer to a char not a pchar (for type helpers)?
My guess: For the same reason that "p2" fails in the below. Distinct type.
May be assignment compatible, but a type
Thanks for your interest in this Charlie.
Just requesting that maybe any more thoughts on this subject could go to the
bug report?
https://gitlab.com/freepascal.org/fpc/source/-/issues/40177
As this thread will probably be lost in the mists of time,
but the bug report should stay open till fix
On 08/03/2023 21:34, Pierre Muller via fpc-pascal wrote:
For m68k,
(3104) Compiling StdAI.lpr
(3104) Compiling Protocol.pas
Protocol.pas(1963,36) Fatal: Internal error 200502052
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppc68k returned an error exitcode
make[1]: *** [debian/rules:27: ove
On Debian 12 (Bookworm) FPC release version 3.2.2 crashes on m68k when trying
to build a shared library.
See
https://buildd.debian.org/status/package.php?p=doublecmd
https://buildd.debian.org/status/package.php?p=c-evo-dh
Scroll down to "Tail of log for ... m68k:"
I have searched the bug tra
On 12/09/2022 07:52, Jean SUZINEAU via fpc-pascal wrote:
As Bart suggested, you can use too the for/in loop: for s in sl do WriteLn( s);
And that is IMHO by far the most elegant, and least error prone, representation.
Cheers,
Peter
___
fpc-pascal m
I suggest trying without optimisations and/or using cmem, to see if that
changes the outcome.
Also, if the array is corrupted prior to the setlength, then iterating the
array with a trivial
with... Writeln(Color)
or whatever, should trigger an exception.
That could then be used at various pa
I'm wondering if this is related to
https://gitlab.com/freepascal.org/fpc/source/-/issues/38703
That caused a parameter corruption in a standard function.
https://lists.freepascal.org/pipermail/fpc-pascal/2022-March/060361.html
Should be easy to check. Just try compiling with -O1
Cheers,
Peter
25 matches
Mail list logo