iSP Return compiler host processor
-iTO Return target OS
-iTP Return target processor
-iVReturn short compiler version
...
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/Error-building-FPC-3-0-2-from-svn
in:/home/roger/fpc/fpc_svn/compiler:/usr/local/bin:/usr/bin:/bin
Despite the path, if I run "which fpc" from commandline I get
"usr/bin/fpc" anyway. How is that possible when that fpc is not in the
path?
___________
fpc-pascal maillist -
:/usr/bin:/bin
Despite the path, if I run "which fpc" from commandline I get
"usr/bin/fpc" anyway. How is that possible when that fpc is not in the
path?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.fr
.pas
Btw, why have fpc and also ppcx64? Does fpc call ppcx64?
On 08/16/2017 09:45 PM, Marco van de Voort wrote:
In our previous episode, kapibara via fpc-pascal said:
I want to use the fp editor to run the test, but it seems as the
"systemic" 2.6.4 is being used for compiling instea
You're right, now I fixed that and "which fpc" reports the SVN version!
On 08/16/2017 10:15 PM, Tomas Hajny wrote:
On Wed, August 16, 2017 21:15, kapibara via fpc-pascal wrote:
I meant to say that system fpc is put AFTER the SVN fpc in the path.
Due to the missing slash at t
The old SVN version is now in play, so far so good! But then "Can't find
unit system" happened:
roger@bikupan:~/fpc/fptest_working$ fpc fptest.pas
Free Pascal Compiler version 3.1.1 [2017/08/16] for x86_64
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: L
To be sure fpc.cfg is found I started the compilation from fpc's bin
directory where the fpc.cfg is located.
roger@bikupan:~/fpc/fpc_svn/
bin$ ./fpc /home/roger/fpc/fptest_working/fptest.pas
Free Pascal Compiler version 3.1.1 [2017/08/16] for x86_64
Copyright (c) 1993-2015 by Florian Kla
-pascal wrote:
The old SVN version is now in play, so far so good! But then "Can't find
unit system" happened:
You need RTL (and other required units, e.g. from packages) compiled with
that compiler version and provide path to it either using fpc.cfg, or -Fu
command line parameter(s)
The results may be sorted also by language name and so all C++ results
comes in before Pascal even if runtime is the same. Your program was as
fast as No1 but anyway not visible among top ten. This outrageous! ;-)
On 08/17/2017 10:21 AM, Ingemar Ragnemalm wrote:
A bit of news which I think
y old statically designed reports :)
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/fpReport-released-tp5729564p5729578.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
___
fpc-pascal maillis
the implementation is?
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
> I am stuck at the keyword vector.
>
> How is it translated into free pascal?
It's hard, you must create additional wrapper that exposes simpler type
(pointer or array of pchar) OR make wrapper for the vector methods and
simply declare it as an opaque pointer. std::vector is temp
> Would it be possible to do this via a Lua shim?
How is it even related with that?
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-
> I thought FPC had the ability to execute a fragment of Lua, and Lua I
believe can call C++ directly.
No, Lua can only call C, just like FPC. You do know the problem of C++
interfacing, don't you?
--
Sent from: http://free-pascal-general.1045716.n5.na
> There is my old feature request about it
> https://bugs.freepascal.org/view.php?id=30344 :) You can monitor it.
No one seems to care to implement it, so if you badly need it: sj.patch
<http://free-pascal-general.1045716.n5.nabble.com/file/t111899/sj.patch>
Apply in compil
Marcos Douglas B. Santos wrote
> I didn't found... In this path \packages\googleapi\examples only
> exists \generator directory. :(
>
> Trunk, rev 37453.
Try this, it wasn't running well due to RTTI changes back then, but probably
works now:
http://free-pascal-general
> The component developer is doing fantastic work with the visual components,
and it starts to look really good.
visual? how and/or what does it output? will be interesting if ExtPascal
dream can be revived somewhat.
--
Sent from: http://free-pascal-general.1045716.n5.nabble.
> or even neural network libraries written in Pascal?
Try contacting schuler in Lazarus forum.
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.
> Hi, a newbie question but the docs aren't clear on how to say that I
want to use the 64-bit compiler, not the i386
fpc -Px86_64 -Twin64
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist - fp
sic ones in System unit, though.
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
AndInitialize before 'main' without additional user actions?
___________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
> Does someone knows a component to use OpenDocument (.odt) files as
templates to generate a .odt output file given some data?
FPVectorial seems to support it:
http://wiki.freepascal.org/fpvectorial_-_Text_Document_Support
--
Sent from: http://free-pascal-general.1045716.n5.nabble.
> Why?
At least pointer size takes double space, multiply it with every instances
1.5x bigger is not impossible.
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
h
27;t break anything lately):
https://code.google.com/archive/p/lysee/
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
> Is there a complete list of packages available somewhere?
$ svn co https://svn.freepascal.org/svn/fpc/trunk fpc
$ cd fpc/packages
$ ls
tadaaa...
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist -
ssing or your server dies (500).
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
mapping elements of
the array according to a map function. The map function takes a single
parameter of the type of the array items and returns the mapped value.
· Peek() : returns the last item.
· Pop() : returns the last item and removes it from the array.
· Remove([startI
(recC);
TJSArray(recA.fields).push(recB);end;
Take a look at this array of record example, in Smart Pascal world, as long
as the datatypes match (e.g. field params is a array of record), we have the
pseudo methods functionality "built-in" for all arrays, for instance. Pas2JS
could hav
rnal name 'JSON';implementationend.
and use like this: JSON.stringify( JsonObject );
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
for your fpc options, done.
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
> Does anyone know of a minimal example or pseudo code or just an
explanation?
Python actually provides a Python.h that you can convert to a Pascal unit.
But inside, it includes a bunch of other header files and conversion might
be a tedious task. If you made it, though, simply c
of these:
* fphttp.SessionFactory.SessionCookie
* fphttp.SessionFactory.SessionCookiePath
optionally, to easily check the created session files, you might want to
also set:
* (fphttp.SessionFactory as iniwebsession.TIniSessionFactory).SessionDir
--
Sent from: http://free-pascal-general.1045716.n5.na
How can this code
{$scopedenums on}
type
Bar = set of (A, B, C);
refer to A, B, C?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
der could they make such code to not compile at all...
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
> Create a call that calls Application.Terminate.
I just call DumpHeap(false); instead
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-
ust make it global) and on start of each procedure, you check whether
the current procedure is in the map already or not. If yes, then the current
call stack has formed a recursion.
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
: http://free-pascal-general.1045716.n5.nabble.com/
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
נשלח מסמארטפון ה-Samsung Galaxy שלי.
הודעה מקורית מאת: Joost van der Sluis
תאריך:27/05/2018 20:07 (GMT+02:00) אל:
fpc-pascal@lists.freepascal.org נושא: Re: [fpc-pascal] Free e-book:
Free Pascal from Square One
Op 27-05-18 om 18:18 schreef Jonas Maebe:
> See h
to initialize it right
there anyway, making the default value useless. Certainly don't imagine
you're the writer of unit A who knows that T has some default values. Other
languages POV are mostly simply ease of typing, they don't think the
consequences this far.
--
Sent from:
> Is there a basic linked List object for Lazarus?
https://svn.freepascal.org/svn/fpc/tags/release_3_0_4/packages/fcl-stl/src/glinkedlist.pp
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist - fpc-pas
rom: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
> i think i'm still waiting for the string "length byte" becoming a "length
word"
or possibly a "length long" so the speed of pascal strings can be reacquired
-=B-)
Ansi and any other dynamic strings already have length longint that allows
2GB st
> Is it possible to use FPC for linking only?
I've asked this in the past with straight "no" answer.
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
_______
fpc-pascal maillist - fpc-pascal@lists.f
> https://github.com/daar/GLPT
This is more GLFW rather than GLUT. Good, I prefer it this way as I have
much greater control with regards to the event handling.
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maill
this would be used, though.
Despite being idiomatic in many languages, it doesn't really save much
typing that traditional way (if that's the main purpose).
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
_______
fpc-pasca
> acording example I found in FPC examples directory,
Check the one here instead:
$(fpcsrcdir)/packages/fcl-fpcunit/src/demo/consolerunner/testrunner.pp
It depends only on FPC units. I guess you're looking at examples from
Lazarus directory instead of FPC.
--
Sent from: http://fre
e name )
Maybe I need different options on the C compile..
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
't try and call the C routine the number of unresolved objects is
only 213
compiler switches:
-TWin32 -va -Mfpc -vw -Sg -Ci -O1 -Cp386 -OpPENTIUM3 -Ratt -gl -p- -b-
I had -XS in there, but it doesn't seem to change anything.
So I'm just looking to static link external C code to
PATH=%SAVED_PATH%
@exit /b
--
so now I'm back to the error of undefined symbol
C:\FPC\use_c_with_pas>fpc -MDelphi -MDelphi -vw -Sg -Ci -O1 -Cp386
-OpPENTIUM3 -Ratt -Fu\units\i386-Win32 -Fu\units\i386-Win32\* -F
u\units\i386-Win32\rtl -FlC:\VCAST63\MinGW\lib pcode.pas
Free Pascal C
this extra '_' business and i
suspect they are on linux Os macOs.
Here at work I'm on a windows machine, but at home I'm happily running FPC
on a mac
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
_______
fpc-
VED_PATH%
@exit /b
thanks again!
john
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
C type calling conventions."
so I'm going to stick with cdecl and for now it's working and will be more
compatible when I also use this code on MacOs
cheers
john
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
How do I remove all of FPC 2.6.4 from macOS (11.6.4) so that I can install the
newest version? Is everything in /usr/local/bin/ppc386 (see below)?
$ fpc
Free Pascal Compiler version 2.6.4 [2014/02/26] for i386
Copyright (c) 1993-2014 by Florian Klaempfl and others
/usr/local/bin/ppc386 [options
> On Feb 13, 2019, at 10:44 AM, Jonas Maebe wrote:
>
> On 13/02/19 10:55, list_email--- via fpc-pascal wrote:
>> How do I remove all of FPC 2.6.4 from macOS (11.6.4) so that I can install
>> the newest version? Is everything in /usr/local/bin/ppc386 (see below)?
&g
> but that seems to only work with Lazarus.
The unit is part of LazUtils package. It has no dependency on other packages
but indeed can't be used as a standalone unit, you need other units from the
same package but that's all.
--
Sent from: http://free-pascal-general.1045716.
x27;+PPUFn);
utils/ppufiles.pp: Error('Error: Wrong PPU Version : '+PPUFn,false);
utils/ppumove.pp: Error('Error: Wrong PPU Version '+tostr(ppuversion)+'
in '+PPUFn,false);
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
Empty Message___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Monday, May 6, 2019 10:48 PM, Sven Barth wrote:
> Nozz via fpc-pascal schrieb am Mo., 6. Mai
> 2019, 22:18:
>
>> Empty Message
>
> Depends on what you're using (and the platform). E.g. the compiler itself
> runs without glibc on Linux, but if you need to
: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
> How are the FPC RTL documentations generated? I wanted to see if I could
generate .docsets files from them also.
A starting point: https://wiki.freepascal.org/FPCDocs_Tutorial
I believe that "write me" part is not far from calling make with certain
options.
--
Sent from: http:
On 02/11/2019 16:55, Ryan Joseph via fpc-pascal wrote:
I've wanted to make a generic version of a vector for a while but I always give
up because it seems not very possible. It's probably not even a great idea
because many methods don't translate between float and integer
Py_BuildValue is from Python-for-Lazarus package.
Py_BuildValue: function( format: PAnsiChar {;...}): PPyObject;
cdecl varargs;
--
Regards,
Alexey
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ows only"-> "parameter is used on Windows only"
--
Regards,
Alexey
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
https://www.freepascal.org/docs-html/current/fcl/syncobjs/teventobject.manualreset.html
text is poor, even the text in .Create (about ManualReset) is more
detailed, so copy text from .Create to this page.
--
Regards,
Alexey
___
fpc-pascal maillist
Procedure TStrings.SetDelimitedText(const AValue: string); has about 16
calls to Length(AValue), so make a variable NLen to speed up it.
--
Regards,
Alexey
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi
e;
end;
end;
--
Regards,
Alexey
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
mpatible with FPC. so i wonder, which define freebsd 12 uses??? I
cannot google it easily.
DirectoryExists reads st_mode item.
--
Regards,
Alexey
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ds,
Alexey
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
roduce the issue in a simple test program that just
writes values to a TJSONConfig.
(In fact I started out writing simple test programs reading and
writing TJSONConfig before trying to attempt to convince my
addressbook application to write to a TJSONConfig in the first place)
Before you ask: my app doesn't use threads.
Any thoughts on this?
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
screwing up the file ...
)
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
codepage of the stringlist's internal list of strings
(array of TStringItem's)?
It seems that the stringlist considers it's internal
TStringItem.FString that has #$C3A#$A4 to have a codepage of CP_ACP
(always)?
Bart
--
Bart
________
re. So you can make your own main in a separate file that
must be linked in during linking which calls whatever name you pass to -XM.
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist - fpc-pasca
Regards,
Alexey
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
TIniFile manually adds the BOM to the first Line.
Then SaveToFile is called, which (if FEncoding = Utf8) will add the BOM again?
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc
On Fri, Jan 10, 2020 at 5:57 PM AlexeyT via fpc-pascal
wrote:
> 1) don't write BOM via WriteString
It doesn't AFAICS.
The BOM is written in UpdateFile.
> 2) if BOM is there, allow ReadString to find section at the file begin:
> BOMCHARS[ref]
I can read/write IniFiles with
here my app reads ini files via TextFile.
b) I canNOT fix another place where PYTHON library reads ini file (Python has
module for ini files).
c) So yes, I want to disable BOM writing at all.
--
Regards,
Alexey
___
fpc-pascal maillist -
Can you add TIniFile.WriteBom property? it's not quite enough, I need to
disable it globally in entire app (I have ~10 ini objects), so
additional global default is needed (like Lazarus has global variables).
--
Regards,
Alexey
___
fpc-p
On Fri, Jan 10, 2020 at 11:30 PM AlexeyT via fpc-pascal
wrote:
> Can you add TIniFile.WriteBom property? it's not quite enough, I need to
> disable it globally in entire app (I have ~10 ini objects), so
> additional global default is needed (like Lazarus has global variables).
Op
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Hi all
Have anybody experienced exceptions "Failed to create new thread" when
FPC-compiled process priority changed with schedtool -D [pid]?
-- Regards,
Denis Golovan
___
fpc-pascal maillist - fpc-pascal@lists.freepascal
any thanks ;-)
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
, many, many thanks.
Fre;D
-
Many thanks ;-)
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
;-)
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
;-)
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
> It should be relatively easily possible, because colon, period and so on
are also treated specially.
> if "," is recognized, a 'spaft' option will do what you want.
Ha, ok, I will explore this.
Thanks.
Fre;D
-
Many thanks ;-)
--
Sent from: http://free
Hello Michael.
I have added in ptopu.pp "comma" keyword and option[t,comma]^.selected :=
[spaft];
Works like charm.
Included patched ptopu.pp
ptopu.zip
<http://free-pascal-general.1045716.n5.nabble.com/file/t339155/ptopu.zip>
Fre;D
-
Many thanks ;-)
--
Sent from: ht
could do it.
Maybe from a used units?
Fre;D
-
Many thanks ;-)
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re-hello.
In the previous zip file there is the ptopu.pp file (not ptop.pp that I did
not touch).
Fre;D
-
Many thanks ;-)
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
s does not exist, only plugin for tenors like Eclipse, etc all Java
applets of course.
So why not a Jtop pure fpc, without any dependencies?
;)
Good night Michael.
Fre;D
-
Many thanks ;-)
--
Sent from: http://free-pascal-general.1045716.n5.nabb
quot;__".
--
Regards,
Alexey
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ce it to "__".
--
Regards,
Alexey
___________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Linux x64 gtk2, crash in regnext() in "offset:=",
https://github.com/Alexey-T/ATSynEdit/blob/master/atsynedit/atsynedit_regexpr.pas#L3664
--
Regards,
Alexey
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepasc
7;ptop -h : This help');
halt(Ecode); --> This produces a memory leak
end;
So the big question is: What is the purpose of "halt(Ecode)" and would it be
a crime to remove it?
Thanks.
Fre;D
-
Many thanks ;-)
--
Sent from: http://free-pascal-general.
top, a beautifier for Java based on ptop.
https://github.com/fredvs/xtop
Fre;D
-
Many thanks ;-)
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.o
Hello Tomas and thanks for the infos.
Hum, ok, so I give you the hand to find why the original code finishes the
program with some memory leak.
Fre;D
-
Many thanks ;-)
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc
Sorry for the noise.
Fre;D
-
Many thanks ;-)
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Mon, Feb 24, 2020 at 10:11 AM Sven Barth via fpc-pascal
wrote:
> You are wrong. Halt() sets the error code provided as parameter. Terminate by
> itself does not.
> Terminate leads to the destructor being called while Halt exists the program
> in a hard way. But as Tomas w
e programs that generate memory leak and all
the bla-bla that try to to convince me that it is not important, that the OS
will remove it, ... etc dont work on me.
I will test your idea.
Thanks.
Fre;D
-
Many thanks ;-)
--
Sent from: http://free-pascal-gener
);
end;
Is it what you are thinking?
Indeed, no more memory leak and error preserved with this.
Heap dump by heaptrc unit of ptop
29 memory blocks allocated : 2242/2280
29 memory blocks freed : 2242/2280
0 unfreed memory blocks : 0
True heap size : 131072
True free
101 - 200 of 3415 matches
Mail list logo