.
Was this simply a minor oversight?
Probably, yes.
Someone in the core team with access to Sourceforge should probably upload
it.
Assuming that Graeme is referring to Intel-architecture Solaris here, is
there anything I can usefully do to help make a 2.4.4 SPARC binary
available?
--
Mark Morgan Lloyd
Sven Barth wrote:
Am 28.07.2011 23:04, schrieb Mark Morgan Lloyd:
I wonder if I could ask a silly question here, without displaying too
much ignorance.
I generally understand the significance of an interface in the Windows
context, where COM (or whatever today's name for it) is integrated
,
in the general case, be easier to enforce a rule that filenames don't
contain characters which have special significance, at which point
option values aren't going to need to be quoted except for cases like
OPT= passed to the FPC build.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
a proprietary protocol over USB, but that there might be
alternatives.
http://hackaday.com/2010/10/12/arm-prototyping-on-the-cheap-with-stm32-discovery/
http://answerpot.com/showthread.php?1008813-ST-Link+with+OpenOCD%3F
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above
(not tested on x64 since I don't have one).
--
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
and in particular on the
debugger, even I have taken to using Lazarus for this. I think possibly
that the time has come that without an explicit option to include it the
debugger (i.e. calls to libgdb) should be excluded by default.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions
Out of curiosity, I've just tried creating a function named ⍳ (Unicode
character 2373, i.e. the APL iota function). FPC trunk complains
Fatal: illegal character '�' ($E2)
What is the rule here- functions must be entirely ANSI or functions must
start with ANSI?
--
Mark Morgan Lloyd
markMLl
Sven Barth wrote:
Am 20.10.2011 10:04, schrieb michael.vancann...@wisa.be:
On Thu, 20 Oct 2011, Mark Morgan Lloyd wrote:
Out of curiosity, I've just tried creating a function named ⍳ (Unicode
character 2373, i.e. the APL iota function). FPC trunk complains
Fatal: illegal character
of all zeros,
and anything with even the slightest interest in compatibility sticks to
this as a convention.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc
at OS/2 (the one that bombed when you
said BYTE(0)). I've also seen : used by a disassembler
(Sourcer), possibly for the same value that Frank suggests.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues
the data and relying on the server to reject it if not unique.
A minor warning about Postgres's serial type: if the table is cleared
the underlying sequence isn't automatically reset. That might or might
not be what's needed/expected.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions
forces me to update my
own sources or to use a bleeding-edge version of Lazarus then that's my
problem.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal
a problem.
This isn't particularly important, if it looks like something useful
I'll rewrite anyway. But I'd prefer to have this even partly functional
first.
--
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
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
Mark Morgan Lloyd wrote:
Has anybody with experience of WideStrings tried compiling the new
Regexpr unit to support them?
I'm in a position where I could very much benefit from using these, but
I think that I'm only seeing patterns match for characters = #$00ff and
even then am not seeing
as x86
(and SPARC behaves the same as PPC).
Reported as issue 0020806. I'm not able to test using a recent Delphi,
or on a 64-bit CPU.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues
. TWideStringList?
--
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
linux. Google around to find examples.
Presumably with the usual health warnings on whether select() updates
its parameters. As far as I could tell when hacking serial.pp, Linux
does but Solaris (8, 10) doesn't.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above
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
separately.
On what do you base this understanding? Mine is that what you're saying
applies to GPL, but not to LGPL.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc
.
*)
VAR y, m: Int64;
d: DOUBLE;
BEGIN
jYear(td, y, m, d);
yy:= y;
mm:= m;
dd:= Trunc(d)
END { jYear } ;
which was transcribed from Perl (originally written in C) Moon phase
calculations and again I believe tests OK.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT
put it into operation ;)
The ultimate reference for almost all this stuff usually turns out to be
one of Jean Meeus's books.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues
comparable for FPC- THeapStatus.TotalAllocated etc.?
--
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
Mattias Gaertner wrote:
On Thu, 19 Jan 2012 09:06:46 +
Mark Morgan Lloyd markmll.fpc-pas...@telemetry.co.uk wrote:
What is considered best practice for getting a summary of heap usage,
in a single-threaded program which doesn't need to be Delphi-compatible?
In Delphi programs that have
] Command-line handling of iptables can be irritating since
setting up a rule doesn't give you a unique tag you can use to delete
it. I've had a situation in the past where I no longer knew the
addresses etc. when it came to tearing a rule down, which caused problems.
--
Mark Morgan Lloyd
this with a
protected writer property? My attempt as below messed up the reader:
TLLEvaluator = class helper for TLexemeList
private
procedure SetValue(v: TPrimaevalValue);
protected
property Value: TPrimaevalValue write SetValue;
...
--
Mark Morgan Lloyd
markMLl
Sven Barth wrote:
On 27.01.2012 22:46, Mark Morgan Lloyd wrote:
If a class has a public reader property like this:
TLexemeList= class(TObject)
protected
fValue: TPrimaevalValue;
public
property Value: TPrimaevalValue read fValue;
...
Note that below is in a different unit.
is there a way
Sven Barth wrote:
On 27.01.2012 23:51, Mark Morgan Lloyd wrote:
Sven Barth wrote:
On 27.01.2012 22:46, Mark Morgan Lloyd wrote:
If a class has a public reader property like this:
TLexemeList= class(TObject)
protected
fValue: TPrimaevalValue;
public
property Value: TPrimaevalValue read fValue
to read them?
I've still a 5 1/4 floppy lying around, afaik it should still work with
current MBs.
My experience is that both media and drives suffer with age, even if not
being used.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his
major damage).
--
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
Graeme Geldenhuys wrote:
On 30 January 2012 10:54, Mark Morgan Lloyd wrote:
People who repair things are a dying breed.
I fully agree. Totally off-topic, but anybody here know of a course
or books one could buy on basic electronic repairs. Thinking in lines
of PSU etc to start with. I've
with it, or maybe oberon, it's been so long that I cannot remember the
details. Just trying to keep it a bit on topic.
I've commented to this in fpc-other.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues
responded: what does fpc -h|head give you? That
error 127 can be caused by the symlink from (e.g.) /usr/local/bin/ppcarm
pointing to a file that doesn't exist.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues
which was supposed to be
a collaborative effort between SGI and MS. IIRC SGI eventually disposed
of the documentation on the bonfire at a beach party.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues
Is there a binary of 2.2.0 for i386 Linux still available anywhere? I'm
having difficulty compiling it from source (possible problem in 2.2.4)
and need it to investigate something that appears not to have worked
properly in (Lazarus running with) later versions.
--
Mark Morgan Lloyd
markMLl
source (possible problem in 2.2.4)
and need it to investigate something that appears not to have worked
properly in (Lazarus running with) later versions.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues
Denne
mail er blevet scannet for virus af TDC Mailfilter.
Med venlig hilsen
Carsten Bager
BEAS A/S
Brørupvænget 10
DK-7650 Bøvlingbjerg
Tlf. : +45 9788 5222 Fax : +45 9788 5434
www.beas.dk
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above
What type can I cast a set (actually Lazarus's TShiftState) to, in order
to be compatible with IntToHex() for debugging output? Or is there some
other preferred procedure?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers
Mattias Gaertner wrote:
On Tue, 21 Feb 2012 21:19:52 +
Mark Morgan Lloyd markmll.fpc-pas...@telemetry.co.uk wrote:
What type can I cast a set (actually Lazarus's TShiftState) to, in order
to be compatible with IntToHex() for debugging output? Or is there some
other preferred procedure
to be used in anger.
--
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
with an absolute path (i.e. not relying on the
PATH shell variable), or if you're in the current directory make sure
you put ./ in front of it. I don't know why this should depend on the
version of FPC used.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's
filesystem that he's had good reasons to do so, and not
to try to overrule or protect him.
--
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
for that...
| grep -v
:-)
--
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 exact position of visible components could
be rather useful.
--
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
Martin wrote:
On 29/02/2012 11:44, Mark Morgan Lloyd wrote:
Martin wrote:
Sure one *could* record *all* variables, and the callstack...
But what if
- you add a new variable, what to initialize it with?
- remove the function that called the current code, or even delete
the line where you just
some weird locale-specific problem.
--
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
Can an Advanced Record, i.e. a record which as well as having fields has
at least one embedded function, be safely used as a cast or type
transfer overlaying unstructured bytes?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his
Jonas Maebe wrote:
On 09 Mar 2012, at 22:26, Mark Morgan Lloyd wrote:
Thanks Jonas, I don't think I need to do it but I thought it was a fair
question: better safe than sorry.
OK, so hopefully I can get away with another. I'm looking at a program written
in Delphi, which reads a file
Martin wrote:
On 09/03/2012 21:26, Mark Morgan Lloyd wrote:
but is there any way to define something like an endianness-correcting
type, i.e.:
Type TAWSHeader=Record
ThisSize: WordLE;
..
where by the time ThisSize is accessed any disparity has been corrected?
Not sure
Sven Barth wrote:
Am 09.03.2012 23:26, schrieb Mark Morgan Lloyd:
Martin wrote:
On 09/03/2012 21:26, Mark Morgan Lloyd wrote:
but is there any way to define something like an
endianness-correcting type, i.e.:
Type TAWSHeader=Record
ThisSize: WordLE;
..
where by the time ThisSize
.
There was relevant discussion in this ML at end-Jan/start-Feb, also see
http://wiki.lazarus.freepascal.org/Native_MIPS_Systems which I knocked
together when I started looking at it.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his
that I'd settle for building a .iso image, and rely on
the user having his own software which is known to be compatible with
his hardware.
--
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
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
. Lazarus 0.9.30-fixed should compile and run on
v10 now that some alignment patches have been incorporated.
In all cases, you need the freeware gas, gld, gmake and probably gtar
etc., and need to be careful with your paths.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions
the *first* thing to do is to confirm that the variable has
stuck by using the set command. After that try running the Pascal program.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues
is a configuration file handler, where parameters describe
things like keyboard layout, and I want to include some latitude so that
a user doesn't have to get it exactly right if editing by hand.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those
Mark Morgan Lloyd wrote:
I know that there are algorithms which given a text fragment will find
the best fit from a number of candidates, based on how many substrings
have to be deleted or changed.
Is there anything like this in the standard FPC library, and if not does
anybody have one
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:
a particular development system but if it happens to me it might happen
to others.
In short, how best should I work around this?
Have a look at unit cnetdb.pp in fcl-net package.
Thanks Marco, now working. I see
waldo kitty wrote:
On 4/13/2012 04:54, Mark Morgan Lloyd wrote:
If I use THostResolver.NameLookup I find that it can convert a
fully-qualified
name but not one where the domain is omitted,
can you explain this a bit more, please? the reason i ask is because
some code wants at least one dot
. For unqualified lookups on unix you need to use cnetdb, i.e. go
via libc, or parse resolv.conf in application code.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal
that the base
configuration will still compile.
--
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
time the procedure's called.
What, please, is the correct syntax to use in this sort of case?
FPC 2.6.0 on Linux x86.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues
the problem,
reverting to array of integer fixes the other but I'm not sure why
that works when it didn't earlier (i.e. before I'd started using array
of const).
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues
cobines wrote:
2012/4/22 Mark Morgan Lloyd markmll.fpc-pas...@telemetry.co.uk:
but I'm not sure why that works when it
didn't earlier (i.e. before I'd started using array of const).
You said you used
DbgArray= array of integer
then I assume this declaration?
procedure ClrDebug(const panels
Michael Van Canneyt wrote:
On Sun, 22 Apr 2012, Mark Morgan Lloyd wrote:
cobines wrote:
2012/4/22 Mark Morgan Lloyd markmll.fpc-pas...@telemetry.co.uk:
but I'm not sure why that works when it
didn't earlier (i.e. before I'd started using array of const).
You said you used
DbgArray= array
correctly.
--
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
Mark Morgan Lloyd wrote:
Marco van de Voort wrote:
In our previous episode, Mark Morgan Lloyd said:
Marco, I see you had a StackOverflow question on this a year or so
ago. Did you ever get anywhere with it in practice?
It was an idea to lower the overhead and improve the reliability of our
/Lazarus_Documentation#Free_Pascal_Compiler_Documentation
is still 2.2.
--
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
a lot since those days it should, in
theory, no longer be an issue: but I suspect that many old prejudices
remain.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues
this, but
arm-assembler is new to me.
I think I'd use a lookup table (making sure it's cacheable),
particularly since what you're doing is going to be called frequently
and you're likely to have much more than 64K memory.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above
Has anybody used FPC to control ALSA on Linux? I need to filter a MIDI
stream in real time, and handle transposition etc.
If anybody knows of useful resources I'd appreciate any hints.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his
you remember which Pascal interface to the ALSA libraries you were
using? I think I've seen two, but I've not yet checked to see whether
they were actually minor variants of the same thing.
On 2012/05/06 10:09 AM, Mark Morgan Lloyd wrote:
Has anybody used FPC to control ALSA on Linux? I need
Wimpie Nortje wrote:
On 2012/05/06 05:49 PM, Mark Morgan Lloyd wrote:
Wimpie Nortje wrote:
I have used ALSA to record sound. It was some time ago, I think on
Kubuntu 10.04 or so.
I can send you some code I used but I have no idea whether it will work
under newer Linux's
Thanks, but since
code that will support either if
possible. If I could also code to support PortMidi that would be a
bonus, but by no means essential: I'm trying to knock together a MIDI
transposer for my own use, and testbed some techniques for another project.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT
-generation bugs that weren't fixed until a few months
ago- the fixes are in 2.7.1 but haven't been backported.
Having said that, 2.7.1 plus the trunk version of Lazarus work fine
together for basic projects (there's things I don't routinely test, like
database access).
--
Mark Morgan Lloyd
and 10), but I've got Slackware 12 IIRC on an E4500 since the
Debian installer wouldn't work. Good machine for testing multithreaded
stuff on account of the number of CPUs.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers
for
that platform within the core team recently which is the reason why there
are no official builds for Solaris for version 2.6.0. Mark Morgan Lloyd
who already responded to your e-mail probably has the most experience with
these targets at the moment.
My main role is being a thorn in the side of the core
microc...@zoho.com wrote:
On Wed, 09 May 2012 16:10:06 + Mark Morgan Lloyd wrote:
There is a directory for Solaris SPARC but it is empty. Is it possible
to get 2.6.0 for Solaris SPARC? Thanks again.
I've got a copy that I've built and run here, but I started off with an
earlier version
calculations that the
problems became apparent.
--
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
microc...@zoho.com wrote:
On Wed, 09 May 2012 18:18:59 + Mark Morgan Lloyd wrote:
My main role is being a thorn in the side of the core developers when
something stops working :-) However I've previously offered to host a
(not very fast) system here for compilation etc., and the offer
... in addition being a Xerox PARC
design it has a certain pedigree ;-)
--
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
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
- and CPU-specific code.
--
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
the terminal type subcommand is not supported.
If anybody else is using it (or if Ales is reading this) I'd be
interested in any suggestions as to how best to add this facility (i.e.
hardcoded internally, subcommands passed to a callback, etc.).
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
.
In other cases use something like recursive descent, or investigate
(p)yacc, (p)lex etc.
--
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
Mark Morgan Lloyd wrote:
leledumbo wrote:
http://sourceforge.net/projects/fpalsa/
http://sourceforge.net/projects/humus/
Thanks for those. Also
http://perso.wanadoo.es/plcl/alsapas/alsapas-en.html so as I thought
there appears to be (at least) two sets of ALSA bindings: fpalsa and
alsapas
manually, irrespective or
platform. I usually use two stages, e.g. ppcsparc - ppcsparc-2.4.4 and
ppcsparc-2.4.4 - /usr/local/lib/fpc/2.4.4/ppcsparc, and in cases where
I'm e.g. running Lazarus I tell it to use the one in the middle i.e.
ppcsparc-2.4.4.
--
Mark Morgan Lloyd
markMLl
: Incompatible type for arg no. 2:
Got Open Array Of Variant, expected Array Of Const
I was caught by this one years ago, and at the time the Delphi
developers I was in contact with had no easy solution.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's
Michael Van Canneyt wrote:
On Fri, 25 May 2012, Mark Morgan Lloyd wrote:
How should I put this?
procedure TUnyokedFrontendForm.OutputWriteF(const str: widestring;
values: array of variant; fg: TColor= clBlack; bg: TColor= clDefault);
var scratch: widestring;
begin
scratch := Format
that OutputWriteF('Test, no params\n') is
valid?
--
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
array
parameter passing an empty array, or an array initialised with
whatever default values you want:
Thanks, good point and adequate workaround.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues
;
Force your absolute address into fontTable, then dereference to get at
the content.
--
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
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
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
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
1 - 100 of 1060 matches
Mail list logo