on :
function OneToTwoComplement(AValue: Int64): Int64;
begin
Result := (Abs(AValue) xor $) + 1;
end;
What happens in the first case if you cast that constant to a QWord?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his
/subversion-deps-1.6.17.tar.bz2;.
Start off with those, then see what else you /really/ need for http.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal
if it would be good enough to embed the ECLiPSe CLP solver in
an application-specific Lazarus frontend? That combination could be
seriously useful for timetabling etc.
http://eclipseclp.org/doc/embedding/embroot.html
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above
to be accepted, or FORCE=1.1
to accept anything up to 2.7.1.
However the thing that's really needed in my opinion is a clear
statement for each SVN tag which FPC version should be used for
compilation. Ditto for Lazarus, it shouldn't be necessary to delve into
the source to find this.
--
Mark Morgan
Graeme Geldenhuys wrote:
On 2012-10-17 10:10, Mark Morgan Lloyd wrote:
Some slack would be desirable: stable is 2.6.0 but there are known
issues which are fixed by 2.6.1.
Nope, the FPC developers made the rules quite clear! Not even the fixes
branch is guaranteed to compile FPC Trunk. ONLY
Reinier Olislagers wrote:
On 17-10-2012 12:49, Mark Morgan Lloyd wrote:
Graeme Geldenhuys wrote:
On 2012-10-17 10:10, Mark Morgan Lloyd wrote:
Some slack would be desirable: stable is 2.6.0 but there are known
issues which are fixed by 2.6.1.
Nope, the FPC developers made the rules quite
access crossed a cacheline boundery ? (32 bytes now, 64 bytes on Haswell)
In any event, I run FPC and Lazarus on SPARC which is susceptible to
misalignment and am not currently aware of any problems.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's
want to transfer such record data
(e.g. through files) between systems with different endianess. In that
case you'll need to write the record field by field and convert the
endianess in one of the two cases...
I've had some success defining a custom := operator for this.
--
Mark Morgan Lloyd
Mark Morgan Lloyd wrote:
Marco van de Voort wrote:
In our previous episode, Mark Morgan Lloyd said:
IIRC there is also a CROSSBINUTILSPREFIX in case you only have to
override
it for the cross part.
Thanks Marco, I'd missed -XP since I was mistakenly looking at the -A
section
Marco van de Voort wrote:
In our previous episode, Mark Morgan Lloyd said:
This is an out of interest question rather than being particularly
important. I've managed to get my hands on an Itanium-based system for
my collection, and find that it runs the x86 Linux variant of FPC fairly
happily
Sven Barth wrote:
Am 05.10.2012 11:34, schrieb Mark Morgan Lloyd:
For information, it works, but I'm getting an error when it calls the
linker. If I link using a script it's fine:
It would help very much if you'd post the error that you get.
I posted the minimum to report (partial) success
Mark Morgan Lloyd wrote:
Sven Barth wrote:
Am 05.10.2012 11:34, schrieb Mark Morgan Lloyd:
For information, it works, but I'm getting an error when it calls the
linker. If I link using a script it's fine:
It would help very much if you'd post the error that you get.
I posted the minimum
Marco van de Voort wrote:
In our previous episode, Mark Morgan Lloyd said:
IIRC there is also a CROSSBINUTILSPREFIX in case you only have to override
it for the cross part.
Thanks Marco, I'd missed -XP since I was mistakenly looking at the -A
section.
For information, it works, but I'm
in makefiles?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc
change isn't retained. I had to delve into this when getting
listen/notify running reliably.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist
from a pointer to a TByte, and I need to
track the version number change in units that depend on this.
I think that's going to need attention from a core developer/manager.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers
() (or whatever the name of the Windows function
is) and so on: that's why Perl has the tainted concept that allows
anything injected by a user to be tracked and treated as potentially
hostile.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those
in
the form designer etc.? I wonder whether it would run on Solaris 8 which
doesn't have some of the libraries required for Lazarus?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues
if AFilename[i] in c then
Exit(False);
end;
So, problem solved. Thanks and regards
But several of those are fine in filenames- just inadvisable since they
need special quoting/escaping to get past the shell. As does ' ' which
isn't in your list :-)
--
Mark Morgan Lloyd
markMLl
Graeme Geldenhuys wrote:
On 14/09/12 09:10, Mark Morgan Lloyd wrote:
I don't believe you've mentioned Maximus here before, does it pull in
the form designer etc.?
I've tested in OpenSolaris 2009 release, but I don't have Solaris 8 to
try. I can say that I have run fpGUI executables under
Graeme Geldenhuys wrote:
On 14/09/12 14:22, Mark Morgan Lloyd wrote:
It was just an idle query... it might turn out to be possible to build
it by taking sources of about the right age from e.g. Slackware 8.1, but
right now I've got too much else on my plate to get into this.
The alternative
Graeme Geldenhuys wrote:
On 14/09/12 14:22, Mark Morgan Lloyd wrote:
It was just an idle query... it might turn out to be possible to build
it by taking sources of about the right age from e.g. Slackware 8.1, but
right now I've got too much else on my plate to get into this.
Thinking about
with. If
anybody has contacts, please let me know.
I think I've had to install those on any Debian system I've used for
development, so for any change you'd be up against the entire Debian
philosophy. Good luck.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above
adresses are the same in both cases.
What OS? Are you expecting a line number associated with code in the
calling program or the .DLL/.so? What has caused the error- is the
calling convention etc. correct?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's
an extra or
missing word)?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org
Rainer Stratmann wrote:
Am Tuesday 11 September 2012 18:14:57 schrieb Mark Morgan Lloyd:
Martin wrote:
On 11/09/2012 10:28, Rainer Stratmann wrote:
I found out that there is no line information shown (-gl) if an error
occurs
(more or less shortly) after the program loads a dynamic library
responds?
What files were changed by the chown -R operation? In other words,
compare before and after.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal
of the
user who started them (unless you set the suid bit which is considered
evil and should not be neccessary in most normal situations).
Setuid root does not work with GTK. Appropriate use of capabilities does.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's
was between having an extra file or patching the
executable, and if the patched executable failed on 5% of customer
systems due to an OS or anti-virus check, I'd settle for the extra file
and count myself lucky.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's
of the developers
not liking changing established features: sometimes that frustrates
almost everybody, but it's something to be lived with.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues
Rainer Stratmann wrote:
Am Friday 31 August 2012 10:38:32 schrieb Mark Morgan Lloyd:
FPC is mature in terms of
age, mature in terms of stability, and mature in terms of the developers
not liking changing established features: sometimes that frustrates
almost everybody, but it's something
Rainer Stratmann wrote:
Am Friday 31 August 2012 11:23:49 schrieb Mark Morgan Lloyd:
Rainer Stratmann wrote:
Am Friday 31 August 2012 10:38:32 schrieb Mark Morgan Lloyd:
FPC is mature in terms of
age, mature in terms of stability, and mature in terms of the developers
not liking changing
would be to leave the executable alone and
to put an early check in the startup code that a subsidiary key file
existed, and for that key to include something that identified the
machine or site on which the program was entitled to run.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
to a working area before manipulating it, unless you can
serialise the CGI or whatever you're using.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist
declared once, and is not being passed around as a parameter.
So I'd suggest that there are cases where the first example is
appropriate, except obviously that that ..10 is rarely if ever acceptable.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's
.
procedure xxx(var result2: yyy);
begin
result := zzz
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http
operators would result in something like
operator := (wle: WordLE): word;
begin
{$ifdef ENDIAN_LITTLE }
Move(wle, result, SizeOf(:=))
..
which is clearly absurd :-)
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers
to me by Jonas et. al.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman
Mark Morgan Lloyd wrote:
Rainer Stratmann wrote:
TP for DOS at least supports a function result (as I remember) thus it
is not Delphi only as you mention.
It supports a function result, but it doesn't IIRC treat 'result' as a
special identifier. Delphi /has/ to have 'result', since
, for reasons that might make
sense to me but not to others. I've generally got the grace to respect
core developers' recommendations and to recognise that they've got other
things to get on with- including a job to keep them fed and clothed.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT
Rainer Stratmann wrote:
Am Wednesday 29 August 2012 10:58:52 schrieb Mark Morgan Lloyd:
Looking at the earlier thread, what you appear to be suggesting is some
way of using $i for pulling binary data into your program. However, $i
is by definition for including source fragments, if you want
Rainer Stratmann wrote:
Am Wednesday 29 August 2012 11:59:01 schrieb Mark Morgan Lloyd:
You are trying to make a very simple thing complicated.
I know bytes with values from 0 to 255. I do not see an illegal
character/byte there. If you read exactly I did not type $i but $ir which
I think
of Gothic or Japanese style, easily constructible
(compostable) to any form you like.
I'm curious: where do you get this 1948 date from? I'm not even sure
that assemblers (as we know them) existed in 1949...
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above
with. It's only marginally more
difficult to add a warning (or even error) if the compiler version isn't
as expected.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues
mileage might vary for other OSes.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org
Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Marco van de Voort wrote:
In our previous episode, Mark Morgan Lloyd said:
When putting text into a resourcestring, for example for i18n, what is
best practice for multiline blocks?
I'm thinking of, for example, explanatory text that goes on a page in a
wizard-style set of dialogues
and miscomprehensions (assuming that is a shared
objective) then it would already be a big step forward.
I agree.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc
that protects executable code from being read?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http
?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
lines that sometimes get inserted on
behalf of some posters, which detracts from the legibility of their
questions or opinions. I can't remember for certain, but I think that
this was again a gmail issue.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's
end.
Anybody: does any computer close to the list server use ClamAV?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal
is permanently available when in fact it's a short-term NFS mount.
And doing it that way means that the user would be aware of the problem,
and if enough users are aware of the problem it might trickle through to
the awareness of the distreaux maintainers.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co
derivative?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc
the compiled code.
Hey, Jonas, when are you introducing the optimisation that a call at the
end of a procedure can be replaced by a jmp? :-)
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues
.
feeding the program all possible input states etc.) you'd probably miss
combinations.
You're left with the options of learning how to use resourcestrings
effectively, or using a language such as Smalltalk where the senders of
a message are known in advance.
--
Mark Morgan Lloyd
markMLl
it to a concise literal such as 'EAGAIN'? I want the
log to report that accept() has failed with EAGAIN, rather than having
explanatory text that doesn't match the kernel documentation.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his
Marco van de Voort wrote:
In our previous episode, Mark Morgan Lloyd said:
When using a function like fpAccept on a non-blocking socket, in some
cases -1 is returned with a documented (Linux kernel) error code of
EAGAIN. Should I be looking for this in errno or SocketError?
Socketerror
potentially be protected
by patent, or by the DMCA) but chatty description (comments etc.) of
them probably is.
Remember that Jonas has asked that this thread adjourn to the fpc-other
list.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those
() appear to be consistent.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman
Mark Morgan Lloyd wrote:
I know that this was discussed a couple of months ago, but I had
difficulty working out what the consensus was.
i)Is there an FPC function which will get the raw time from the RTC,
which on unix systems will usually be UTC (specifically, without a DST
correction
ZAN DoYe wrote:
On 2012-07-23 21:51, Mark Morgan Lloyd wrote:
I'm trying to write a simple finger daemon, capable of both IP4 and
IP6. At present it's using an unprivileged socket so as to avoid
problems on unix platforms.
I appear to be having problems at the bind() call for IP6 (returns
the client for status messages etc. before connection.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http
of whether he could have got it
elsewhere. Alternatively, the basic framework is GPL but
dynamically-linked extensions are proprietary.
I suppose that the bigger question is: how does one find an affordable
lawyer, well-versed in the laws covering the major jurisdictions?
--
Mark Morgan Lloyd
Does FPC have an interface to the POSIX capabilities library, which I
believe is libcap or possibly libcap-ng?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc
;
..
so that it initialises the sin6_len field if present (some BSD
variants?), does it see that conditional automatically if defined?
Otherwise how best to do it?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues
Mark Morgan Lloyd wrote:
I'm trying to write a simple finger daemon, capable of both IP4 and IP6.
At present it's using an unprivileged socket so as to avoid problems on
unix platforms.
I appear to be having problems at the bind() call for IP6 (returns -1),
which I suspect is down to my
in a standard library.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo
for the diversion ;)
If you were using the very early MS networking for unix (mentioned in
the Samba entry on Wp IIRC, but I think I've also got other references)
then they probably had both.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those
waldo kitty wrote:
On 7/18/2012 08:48, Mark Morgan Lloyd wrote:
I was reminded of this when somebody was asking about portable
signalling APIs
the other day, but I think it's also relevant to discussion of e.g.
how to pass
a keyword to a help viewer.
I am obviously aware of the fact that FPC
.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
michael.vancann...@wisa.be wrote:
On Wed, 18 Jul 2012, Mark Morgan Lloyd wrote:
I was reminded of this when somebody was asking about portable
signalling APIs the other day, but I think it's also relevant to
discussion of e.g. how to pass a keyword to a help viewer.
I am obviously aware
OBones wrote:
Mark Morgan Lloyd wrote:
A couple of weeks ago, out of curiosity rather than necessity, I
started looking at whether the library could be ported to Windows
using MS-style named pipes. However I seem to have hit a snag since it
appears that Windows can't both create a named pipe
.
I will do, but I do note that
http://lazarus-ccr.sourceforge.net/docs/rtl/ipc/index.html explicitly
says that It works only on the linux operating system. Where's the
source- I can only see ./fpcsrc/rtl/unix/ipc.pp
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above
OBones wrote:
Mark Morgan Lloyd wrote:
Basically, what I was trying to do was this. In the main thread:
fIpcPipe:= CreateNamedPipe(PChar(fIpcName), PIPE_ACCESS_INBOUND,
PIPE_TYPE_MESSAGE + PIPE_READMODE_MESSAGE,
1, 0, 0, 1000, NIL
michael.vancann...@wisa.be wrote:
On Wed, 18 Jul 2012, Mark Morgan Lloyd wrote:
michael.vancann...@wisa.be wrote:
No need to apologize, I'm just curious where you got your info from.
The implementation has been the same since day 1, which means your
statement puzzles me.
So instead of re
already exists.
Of course, time spent learning APIs is never wasted :)
I'll certainly take a close look at that if I come back to this problem-
if nothing else to see whether it works in the context of a single
process :-)
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions
, not a SIGBUS which is what you would get for
an alignment problem.
This problem no longer exists in 2.7.1 (21919 + Reinier's
solarisdbtrunk2.diff).
However, I've got an unknown fieldtype which I'll investigate and if
necessary raise separately.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT
that it isn't forgotten.
I'll do that, but first I'm working through another odd issue to
determine whether it's down to Lazarus on Solaris or is a
recently-introduced problem in 2.7.1 targeting SPARC.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those
Mark Morgan Lloyd wrote:
Sven Barth wrote:
Now, you are getting a SIGSEGV, not a SIGBUS which is what you would
get for
an alignment problem.
This problem no longer exists in 2.7.1 (21919 + Reinier's
solarisdbtrunk2.diff).
Then it might be good if you report this in Mantis together
Mark Morgan Lloyd wrote:
[Nod], understood. Hit a slight snag here with trunk FPC + trunk Lazarus:
Target OS: Solaris for SPARC
Compiling sqldblaz.pas
Compiling registersqldb.pas
registersqldb.pas(58,3) Fatal: Can't find unit ibconnection used by
registersqldb
Fatal: Compilation aborted
make
michael.vancann...@wisa.be wrote:
On Mon, 16 Jul 2012, Mark Morgan Lloyd wrote:
Mark Morgan Lloyd wrote:
[Nod], understood. Hit a slight snag here with trunk FPC + trunk
Lazarus:
Target OS: Solaris for SPARC
Compiling sqldblaz.pas
Compiling registersqldb.pas
registersqldb.pas(58,3) Fatal
missed any stages out: applied patch successfully, make
distclean, make all?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal
Reinier Olislagers wrote:
On 16-7-2012 18:41, Mark Morgan Lloyd wrote:
Reinier Olislagers wrote:
Whoopsie, error in the patch: this:
- merged
P.SourcePath.Add('src/sqldb/sqlite', SqldbConnectionOSes);
P.SourcePath.Add('src/sqldb/sqlite', SqliteOSes);
into
P.SourcePath.Add('src/sqldb/sqlite
?
Problem appears to be in pqconnection.pp and I can see that it's
recently been worked on.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist
SPARC Linux is OK
it's unlikely to be a straight alignment error.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal
Thomas Schatzl wrote:
Hi,
On Thu, 2012-07-12 at 09:47 +, Mark Morgan Lloyd wrote:
Ludo Brands wrote:
Builds OK on SPARC Solaris 10 using 2.6.0, but on running get a
consistent error
Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 4]
0x004b08b8
Jonas Maebe wrote:
Thomas Schatzl wrote on Thu, 12 Jul 2012:
On Thu, 2012-07-12 at 09:47 +, Mark Morgan Lloyd wrote:
Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 4]
0x004b08b8 in TPQCONNECTION__LOADFIELD (CURSOR=0xfad601a0,
FIELDDEF=0xfad30f20, BUFFER=0xfa5f00bc
: *** [bigidecomponents] Error 2
-bash-3.00$ svn up
At revision 37922.
Anybody got any quick suggestions? all builds OK but I presume I need
bigide because I've used the TQuery etc. on the form.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his
a non-reentrant function, and so on).
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http
Mark Morgan Lloyd wrote:
Tomas Hajny wrote:
On Wed, July 4, 2012 11:32, Mark Morgan Lloyd wrote:
When building a shared library, I'm putting a (function that returns a)
magic number into both the library and the calling program. This returns
an integer, and allows the program and library
think is
consistent with what you're saying.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http
Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
on
tinkering with this, I've not yet retrieved the exact error message and
I'm interested in seeing what happens if the .so itself tries to use
libdl to reopen the main program.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers
Mark Morgan Lloyd wrote:
Can such an alternative entry point in the main unit be called by
a shared library, i.e. either resolved at load time or with the main
binary reopened like a library? Or is the only way to pass a main-
program entry point to a shared library by using
-reported.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
the number
of a particular object being allocated/deallocated), but distinct across
program invocations (i.e. two programs using the same shared library
wouldn't clash)?
The discussion of libraries in ch16 of the Language reference guide is
rather quiet on the semantics.
--
Mark Morgan Lloyd
Mark Morgan Lloyd wrote:
I'm currently tinkering with shared libraries, using cmem, mainly on
Linux. In one case the main-program code is multithreaded, but so far
I'm not moving data between threads inside the library.
Am I correct in believing that unit-level variables in a shared library
for an embedded system, but have
never tried exploiting it with a real OS.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal
best debugs operation as control is transferred from the main
program into the shared library, bearing in mind that this might be
important since the library might have all the tricky code.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his
701 - 800 of 1060 matches
Mail list logo