On 29/07/11 06:39, Jürgen Hestermann wrote:
Bernd schrieb:
Occasionally I hear other people mentioning operator overloading as a
must-have feature of any decent language but I wonder what real-world
problems they are actually solving with it.
I think operator overloading is a pain. As
On 11/08/11 05:00, Bruce Tulloch wrote:
I am using the latest synaser (007.005.002) from the synapse library
which works just fine with (USB) serial ports on Linux and Windows but
Mac OSX 10.6 it is proving problematic.
The call which opens the port (synaser.pas:946) is:
FHandle :=
Hello
While building fpc on my arm netbook, I found this crash in fpmake:
EAccessViolation : Access violation
$00027448 FIXPATH, line 1737 of src/fpmkunit.pp
$00039E24 TTARGET__SETNAME, line 5577 of src/fpmkunit.pp
$00027F24 TTARGETS__ADDEXAMPLEPROGRAM, line 2174 of src/fpmkunit.pp
On 18/08/11 13:35, Vincent Snijders wrote:
2011/8/18 Henry Vermaakhenry.verm...@gmail.com:
Hello
While building fpc on my arm netbook, I found this crash in fpmake:
EAccessViolation : Access violation
$00027448 FIXPATH, line 1737 of src/fpmkunit.pp
$00039E24 TTARGET__SETNAME, line
On 24/10/11 13:05, Marco van de Voort wrote:
In our previous episode, michael.vancann...@wisa.be said:
I consider this bad advice. GUID are bad primary keys, because of
their size and the fact they are not sequential by design.
You just discarded most Microsoft product designs =-)
They use
On 26/10/11 13:13, Jonas Maebe wrote:
On 26 Oct 2011, at 13:47, Marcos Douglas wrote:
I got this error when I tried to compile FPC 2.7.1 rev 19546.
-
W:/md/dev/freepascal/binutils/ppc386.2_6.exe
On 07/11/11 11:49, Ko Hashiguchi wrote:
Sirs,
Does Free Pascal have any options for operating on numbers longer than
double-precision? If quad-precision is available, how can it be had? Can
one find-obtain-buy libraries that can extend this ability to the Pascal
language? Any info. you can post
On 05/11/11 23:27, Marco van de Voort wrote:
Hello,
We have placed the first release-candidate of the Free Pascal Compiler
version 2.6.0 on our ftp-servers.
You can help improve the upcoming 2.6.0 release by downloading and
testing this release. If you want you can report what you have done
On 28/11/11 13:41, Juha Manninen wrote:
Hi
Is FPC 2.2.2 really the latest native release for ARM processors?
I guess it can build the more recent versions. (?)
There is an arm release for 2.6.0rc1, but it was built using old
binutils (last time I checked, at least):
On 08/12/11 09:13, Vincent Snijders wrote:
2011/12/8 Graeme Geldenhuysgraemeg.li...@gmail.com:
On 8 December 2011 09:25, Felipe Monteiro de Carvalho wrote:
And what if it changes in the future to being slow and statistically
strong, we change again too?
The random number generator can be
On 8 December 2011 18:38, Graeme Geldenhuys graemeg.li...@gmail.com wrote:
2011/12/8 Tomas Hajny :
that FPC has ever claimed performing functionality at the same speed as
Delphi...
We all know FPC is much slower that Delphi... we live with it. But a
function being 529x slower, and being the
On 19/12/11 11:16, Juha Manninen wrote:
The compiler itself works but assembler is missing. See :
---
root@ubuntu:/usr/share/doc/fpc-2.6.0/examples/text# fpc hello.pp
Free Pascal Compiler version 2.6.0rc1 [2011/10/20] for arm
Copyright (c) 1993-2011 by Florian Klaempfl and others
Target OS:
On 21/12/11 11:06, Felipe Monteiro de Carvalho wrote:
Hello,
Does anyone know what would be the solution for implementing timer
support in a X11 toolkit? I already have TTimer support implemented
for LCL-CustomDrawn-Windows, Cocoa and Android (but Android is the
best tested of them), but it
On 21/12/11 12:36, Mark Morgan Lloyd wrote:
Henry Vermaak wrote:
On 21/12/11 11:06, Felipe Monteiro de Carvalho wrote:
Hello,
Does anyone know what would be the solution for implementing timer
support in a X11 toolkit? I already have TTimer support implemented
for LCL-CustomDrawn-Windows
On 21/12/11 14:53, Felipe Monteiro de Carvalho wrote:
wow, I started taking a look at how to do it and as always with
anything related to X11 it is terribly complicated ... but luckly I am
not alone here using FPC, so I shamelessly stole code from fpgui,
hammered it a little bit to fit TTimer
On 21/12/11 15:56, Felipe Monteiro de Carvalho wrote:
On Wed, Dec 21, 2011 at 4:53 PM, Henry Vermaakhenry.verm...@gmail.com wrote:
Spinning like this is bad news for efficiency and battery life of embedded
devices.
Well, using X11 in an embedded device by itself is a very bad choice
Better
On 21/12/11 16:11, Martin Schreiber wrote:
On 12/21/2011 04:53 PM, Henry Vermaak wrote:
On 21/12/11 14:53, Felipe Monteiro de Carvalho wrote:
wow, I started taking a look at how to do it and as always with
anything related to X11 it is terribly complicated ... but luckly I am
not alone here
On 21 December 2011 18:06, Marco van de Voort mar...@stack.nl wrote:
Not likely with Linux-only stuff in the same msg. That's where I stopped
reading pretty much.
What linux only stuff? Since when does posix mean linux only? Spare
us the linux phobia, please. Googling for timer_create bsd
On 22/12/11 09:15, Felipe Monteiro de Carvalho wrote:
It is not about select working or not, it is about how many file
descriptors X uses to communicate:
http://fixunix.com/xwindows/91558-xconnectionnumber-select.html#post301681
I don't have time in the foreseeable future to find in which
On 23 December 2011 15:27, Andrew Brunner andrew.t.brun...@gmail.com wrote:
Windows supports epoll?
No, windows doesn't offer polling socket mechanisms. They send
messages to windows with the socket number - it's event driven.
Kernel polling is different, but I assumed that Darwin would
On 23/01/12 14:56, ik wrote:
On Mon, Jan 23, 2012 at 16:28, ik ido...@gmail.com
mailto:ido...@gmail.com wrote:
Hello,
In the following code
(https://github.com/ik5/redit_client.fpc/blob/master/tests/test_parser.lpr#L55),
when I point, I have access violation when trying to
On 23/01/12 15:38, ik wrote:
PChar is an array like approach. AnsiString, is a record based pointer.
AnsiString also stores the string in an array. It is dynamic, though,
so it stores the size and also reference count.
It uses more memory, and provide a bit overhead for the same thing.
At
On 30/01/12 09:05, 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
On 02/02/12 12:54, Reinier Olislagers wrote:
3. Is there some option I can pass to make to let it find the right
binutils?
You can pass CROSSBINDIR=/path/to/binutils.
Henry
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
On 02/02/12 13:02, Henry Vermaak wrote:
On 02/02/12 12:54, Reinier Olislagers wrote:
3. Is there some option I can pass to make to let it find the right
binutils?
You can pass CROSSBINDIR=/path/to/binutils.
P.S. I realise you're not cross compiling, but setting CROSSBINDIR
should still
On 02/02/12 13:37, Reinier Olislagers wrote:
However, when doing the same with make install:
C:\development\binutils\make.exe
FPC=c:\development\fpcbootstrap\ppc386.exe
CROSSBINDIR=C:\development\binutils --directory=c:\development\fpc
UPXPROG=echo COPYTREE=echo install
I get
On 06/02/12 16:40, Reinier Olislagers wrote:
Busy porting FPCUP to Linux... think it's time to quit for the day
This code:
OperationSucceeded:=ForceDirectories(BootstrapCompilerDirectory);
debugln('todo: debug: forcedirectories bootstrap compiler dir:
'+bootstrapcompilerdirectory+' result:
On 06/02/12 16:50, Henry Vermaak wrote:
Your shell expands ~ to your home directory. Your program will have to
do this manually (i.e. read the HOME environment variable).
Like Ido mentioned, ExpandFileName does this already. Perhaps the
documentation could mention it.
Henry
On 07/02/12 10:04, Graeme Geldenhuys wrote:
Hi,
I'm pretty out of the loop when it comes to embedded or small form
factor devices. There seems to be so many different embedded
processors and multiple versions of ARM etc - hence this message. I'm
very interested in the RaspberryPi project, and
On 07/02/12 13:05, Bernd wrote:
2012/2/7 Henry Vermaakhenry.verm...@gmail.com:
Just make sure you have enough swap space, since I've got 512MB and that
isn't sufficient to build lazarus.
If you use the following flags then ld will use considerably less
memory during linking:
On 08/02/12 11:24, Koenraad Lelong wrote:
Hi,
I'm searching for some document how to set up a system to use two
versions of fpc.
I'm trying to make a working arm-embedded compiler. With 2.6.0 I seem
unable to do that, so I want to try it with the svn-version of fpc. But
when I just install
On 08/02/12 12:58, Koenraad Lelong wrote:
Make sure you set up fpc.cfg to look at the right directories, e.g.
-Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget
-Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/*
-Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/rtl
My fpc.cfg was similar,
On 16/02/12 16:10, ik wrote:
Hello,
What is the best way measure execution time of functions ?
You can use gprof (build with -pg).
Henry
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
On 20/02/12 14:03, Juha Manninen wrote:
It is funny how people still think the Debian based package system is
the best. It was so maybe 10 or 15 years ago but not any more.
These problems have nothing to do with Debian packages. You need to
install some development libraries.
Henry
On 24/02/12 11:09, Graeme Geldenhuys wrote:
Hi,
[rant]
I'm just sick of the idiocy of Linux/Unix with there case sensitive
file systems! Google'ing a round for the reason for this, it seems
that in the 60's, it was C programmers that decided that searching for
case sensitive files was easier to
On 07/05/12 12:35, Guillermo Martínez Jiménez wrote:
Thanks, Henry,
Can you give any more information about how it fails?
It's a SIGSEGV. The library is the Allegro library version 5.0.6.
The error is inside an internal procedure that uploads a texture to
OpenGL context, and it is used
On 08/05/12 11:52, Guillermo Martínez Jiménez wrote:
From: Henry Vermaak
Subject: Re: [fpc-pascal] Re: Runs correctly when debugging.
It's hard to say without seeing your function/type declarations.
Actually I don't call the function that raises the SIGSEGV signal,
since it's an internal
On 09/08/12 14:25, Rainer Stratmann wrote:
Am Thursday 09 August 2012 15:14:29 schrieb Jonas Maebe:
Rainer Stratmann wrote on Thu, 09 Aug 2012:
How is it possible to put some inline bytes in the code like the former
inline( $1f , $ef , $1A );
instruction?
{$asmmode att}
asm
.byte
On 15/08/12 12:37, Mark Morgan Lloyd wrote:
Jonas Maebe wrote:
In both these cases, I manually created unversioned symlinks to those
libraries, and that got my applications working again. This is not
ideal, but I don't know how else to handle this.
The official way to get the unversioned
On 15/08/12 13:43, Mark Morgan Lloyd wrote:
I do agree with Graeme's position though: a -dev is described as
containing files for developers, and it should not be necessary for a
non-developer user to start encumbering his system with .h files etc.
What's more, part of the reason that I've
On 16/08/12 13:53, microc...@zoho.com wrote:
Is anybody else receiving mailformed emails from the list?
The only weirdness I get is Ludo's subject header. The subject of the
first message in the thread was:
[fpc-pascal] linux: should we hard-code versioned or unversioned shared
libraries in
On 24 September 2012 14:39, Christo christo.cra...@gmail.com wrote:
Unfortunately the master branch appears to be 2 months old. Any idea how
I can clone the libusb-1.0 branch? I'm new to using git so it may be
something trivial I'm missing.
Try to clone
On 25 September 2012 20:57, Christo christo.cra...@gmail.com wrote:
Any ideas on how to define the calling convention in the import unit so
that it is either stdcall or cdecl depending on the target OS?
I've used a macro for this in the past. E.g. :
{$macro on}
{$ifdef windows}
{$define
On 30/10/12 10:05, luciano de souza wrote:
Hello listers,
Getopts offers very good features to process commandline arguments. As
far as I could understand, I used it successfully. But it remains one
unknown aspect for me. What is the field flag of TOption record?
How to use it?
TOption =
On 30/10/12 14:04, Mattias Gaertner wrote:
Rich Cook
Programming today is a race between software engineers striving to build
bigger
and better idiot-proof programs, and the Universe trying to produce bigger and
better idiots. So far, the Universe is winning.
Ah, you beat me to it :)
Henry
On 09/11/12 11:06, Graeme Geldenhuys wrote:
On 2012-11-09 10:42, Marco van de Voort wrote:
IOW, I wouldn't desperately try to support Wayland native at this point.
That can be done if the native api turns out to be stable, Wayland truely
takes over X11, and all distros package it.
Now it is
On Tue, Jan 08, 2013 at 09:58:19AM +0100, Krzysztof wrote:
I don't like a lot of C++ syntax but this one is interesting. You really
don't like it? :)
Most C programmers I've dealt with (including myself) consider this bad
practise.
Henry
___
On Tue, Jan 08, 2013 at 08:19:15AM -0300, Jorge Aldo G. de F. Junior wrote:
C programmers are (usually, but there are a lot of exceptions) bad
programmers who confuse the power of a language with the capability of
decrease the ammount of typing needed to reach a certain goal.
They despise
On Wed, Jan 09, 2013 at 08:42:22AM +, Mark Morgan Lloyd wrote:
But if you want an example of a very nasty bug caused by C/C++
multiple assignment, there was a well-documented attempt to slip a
privilege escalation into the Linux kernel based on this a few years
ago.
It's very easy to
On Wed, Jan 09, 2013 at 10:46:54AM +, Mark Morgan Lloyd wrote:
I've got a vague recollection that since that episode the kernel
maintainers have mandated a use of parentheses that helps the
compiler pick up the distinction between an equality and an
Assignment inside if statements are
On Wed, Jan 09, 2013 at 08:31:14PM +0100, Marco van de Voort wrote:
I guess that is the bright side of it all. Sooner or later we can have an
obfuscated Pascal contest, just like the other ones :-)
I'm sure we can already have a contest just with the careful application
of macros :)
Henry
On Fri, Feb 22, 2013 at 10:52:09AM -0300, silvioprog wrote:
Hello,
What is cross-compiler installation mentioned in this article?:
http://wiki.freepascal.org/Android (please see: http://imagebin.org/247728)
And where do I download it?
The heading of that section is Building cross
On Fri, Feb 22, 2013 at 11:09:45AM -0300, silvioprog wrote:
OK, but...
I added the following paths on PATH env. variable:
C:\lazarus\fpc\2.7.1\bin\i386-win32
C:\Program Files (x86)\Android
SDK\android-ndk-r8d\toolchains\arm-linux-androideabi-4.7\prebuilt\windows\bin
And after:
On Mon, Feb 25, 2013 at 11:00:25AM +, Graeme Geldenhuys wrote:
On 2013-02-25 10:51, Sven Barth wrote:
That's indeed a valid argument pro .pp
And a large argument against .pp extensions is that NO editor out there
(except for FP Text IDE and Lazarus) knows about .pp, so pascal syntax
On Thu, Feb 28, 2013 at 10:45:08AM +, Graeme Geldenhuys wrote:
On 2013-02-28 09:28, Marc Pertron wrote:
We need better optimisations at least as much as fancy 123.tostring.
Bottom line optimisation work is just not as sexy and exciting as
adding the latest Delphi/Java/C#/C
On Thu, Feb 28, 2013 at 07:43:15AM -0600, Kenneth Cochran wrote:
On Feb 28, 2013 5:23 AM, Henry Vermaak henry.verm...@gmail.com wrote:
On Thu, Feb 28, 2013 at 10:45:08AM +, Graeme Geldenhuys wrote:
On 2013-02-28 09:28, Marc Pertron wrote:
We need better optimisations at least
On Fri, Mar 01, 2013 at 09:23:29AM +, Mark Morgan Lloyd wrote:
Sven Barth wrote:
An llvm target will move the optimisation burden away from fpc, which
would be very interesting.
While we would welcome a LLVM backend it is basically a consent in
the development team that this would
On Mon, Mar 11, 2013 at 11:26:57PM +0100, Darius Blaszyk wrote:
I'm stuck porting a macro from C. Below is the original define. The
part I'm struggeling with is the right most part after the - sign.
#define GETNEXT(x) ((LList *)(((char *) x) - ((char *) (((LList
*)0)^.next
I'm
On Mon, Apr 22, 2013 at 09:57:06AM +0200, Michael Van Canneyt wrote:
On Mon, 22 Apr 2013, Marco van de Voort wrote:
In our previous episode, Mattias Gaertner said:
The FPC code tries to work its way up from '.' in such a case.
I just tried, but it gives a correct result in my case.
Maybe
2009/6/15 fpcl...@silvermono.co.za:
Hi guys,
I'm interested in exploring the USB interface from within Linux using FPC.
I have looked at libusb and am aware of the functionality which it exposes.
I would appreciate it if someone with USB programming experience could help by
pointing me to
2009/6/15 Johann Glaser johann.gla...@gmx.at:
@FPC team: Are you interested in including the libusb header
translations (and possibly the other stuff) to FPC rtl?
I assume you mean the fpc packages. Just for info:
libusb 0.1* is not developed any more, since libusb 1.0 was released
end of
2009/6/26 Graeme Geldenhuys grae...@opensoft.homeip.net:
How come nobody ever noticed this? Does everybody only write English
programs. :-)
Because it's so simple/trivial that everyone rolls their own for user
interfaces? I know I do.
Henry
___
2009/6/26 Vincent Snijders vsnijd...@vodafonevast.nl:
Graeme Geldenhuys schreef:
How come nobody ever noticed this? Does everybody only write English
programs. :-)
Because I always thought these function were not for users, but for systems,
for example to store a boolean in a xml file or
2009/6/28 César Espinoza cesarespinozas...@gmail.com:
Hi all !!
I did! I can now connect and query to mysql
fpc 2.2.4, console, Macosx 10.5 leopard, Mac book Intel
But I can't (may be I dont know :-( ) insert data in a table
connect mysql ... ok
select db ... ok
.
2009/7/20 greim gr...@schleibinger.com:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
i just tried to compile a cross compiler
linux 386 to linux arm
(Suse 11.1 to a SSV DIL Net PC / 9200 Atmel AT91RM9200)
I downloades the latest :
.
Download Daily Source Snapshot of the Fixes
2009/7/21 greim gr...@schleibinger.com:
so thanks i am some steps further
i now installed the arm binutils from the Suse distribution
ist version 2.19 instead of 2.16 and installed in
/opt/cross/arm-linux/bin/
by Yast
So i now mad a call:
make all CPU_TARGET=arm OS_TARGET=linux
2009/7/28 Brian Prentice bprent...@webenet.net:
Lazarus has not met its goal of 'write once and compile and run anywhere'
and is taking far too long to develop. Should it be abandoned and replaced
with a new graphical user interface library based on the Java Swing toolkit?
I would be
2009/8/18 Евгений sem-ev...@rambler.ru:
Socket error[38]: Function not implemented
Try and write a short c program to test socket support in the kernel.
If it fails, maybe you need to re-configure (try `make menuconfig`)
and re-build your kernel to make sure that socket support is included.
If
2009/8/19 Henry Vermaak henry.verm...@gmail.com:
2009/8/19 Евгений sem-ev...@rambler.ru:
Thank you for your advice, I tried. A simple socket program written in C
works. Now I don't know what to do with Pascal, i don't want to rewrite my
large program in C.
Try using strace to get more
2009/8/19 Henry Vermaak henry.verm...@gmail.com:
If you are using an EABI kernel, it will be the socketcall syscall
that's failing. This is the code in unistd.h:
/*
* The following syscalls are obsolete and no longer available for EABI.
*/
#if defined(__ARM_EABI__) !defined(__KERNEL__
2009/8/22 Jonas Maebe jonas.ma...@elis.ugent.be:
http://www.google.com/search?q=nokia+n810hl=en - first hit:
http://en.wikipedia.org/wiki/Nokia_N810 - The Nokia N810 features the
Maemo Linux distribution
Also:
http://en.wikipedia.org/wiki/Maemo_(operating_system)#Software_development
Looks
2009/8/25 Nataraj S Narayan natara...@gmail.com:
Hi
using arm-2009q1/arm-none-linux-gnueabi/bin/. from Codesourcery.
Why don't you use the toolchain with which your system was compiled in
the first place?
Henry
___
fpc-pascal maillist -
2009/8/25 Nataraj S Narayan natara...@gmail.com:
Hi Henry
You mean both fpc and app ?
No, I mean everything.
I compile kernel with codesourcery. But the Distro is Angstrom which has
its own arm-angstrom-linux-gnueabi-*
Is there a reason why you don't use the distro toolchain for
2009/8/25 Nataraj S Narayan natara...@gmail.com:
Hi Henry
Not any particular reason for that. Company policy was to get rid of
Angtrom and go for Debian.
Well seems debian-armel is also EABI 4. Would you suggest me a RFS with EABI
5?
I'm just saying that you won't have these problems if
2009/8/26 Nataraj S Narayan natara...@gmail.com:
Hi
The following URL gives me a XML output in any browser , after
validating username and password:-
http://Some IP
address/handheld?sql=select+*+from+branchdesc+for+xml+autoroot=my-mssql-database
This connects to a remote MS SQL server
2009/8/27 Graeme Geldenhuys grae...@opensoft.homeip.net:
Michael Van Canneyt wrote:
Why is threading enabled by default under Windows and not under other
platforms?
Because it creates a dependency on the C library, which
is not always wanted. For Lazarus programs, the dependency exists
2009/8/27 Michael Van Canneyt mich...@freepascal.org:
Because I want a FPC program to depend only on the Linux kernel, not on the
C library.
There are FPC programs from 8 years back that still work with the current
kernel. Try that with a program that depends on the C library.
The only
2009/8/27 Graeme Geldenhuys grae...@opensoft.homeip.net:
I understand all this, but isn't libc available on all unix-type OSes.
In my limited experience, I haven't come across a linux system without
some form of a c library. Pretty much everything in gnu userland
relies on it.
If so, then I
2009/8/27 Mattias Gärtner nc-gaert...@netcologne.de:
Not me, but Michael said that.
Of course, sorry for mis-quoting you.
Henry
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
2009/8/27 yu ping spin...@gmail.com:
I ever download the fpGui source using git.
but now I can't connect the server.
This is not the fpgui mailing list. Graham posted a url change
message 2 days ago to the fpgui mailing list. The url is now:
2009/8/27 Henry Vermaak henry.verm...@gmail.com:
2009/8/27 yu ping spin...@gmail.com:
I ever download the fpGui source using git.
but now I can't connect the server.
This is not the fpgui mailing list. Graham posted a url change
message 2 days ago to the fpgui mailing list. The url is now
2009/8/28 Nataraj S Narayan natara...@gmail.com:
HI
# strings firework |grep ld
/software/arm-lib/ld-linux.so.3
This is due to the command line options -Fl/software/arm-lib and
-FL/software/arm-lib?
Henry
___
fpc-pascal maillist -
2009/9/8 yu ping spin...@gmail.com:
how to translate following C code to pascal?
enum{IUP_SHOW, IUP_RESTORE, IUP_MINIMIZE, IUP_MAXIMIZE, IUP_HIDE};
type
TMyEnum = (IUP_SHOW, IUP_RESTORE, IUP_MINIMIZE, IUP_MAXIMIZE, IUP_HIDE);
Henry
___
fpc-pascal
2009/9/9 wht244 wht...@o2.pl:
What type of licence can I use when I use source from directory source\rtl
and source\packages?
The rtl licence (lgpl) is in rtl/COPYING.
The licence for packages depends on the package you use. It's
essentially the same as the rtl, I think, but if a package
2009/9/9 wht244 wht...@o2.pl:
So, when I want to use libmysql.dll library - I have to make my application
run on a GPL licence. Is that right?
As far as I know, yes, or you can obtain a licence from mysql.
And what about sqlite3?
http://tinyurl.com/q32422
:)
Henry
2009/9/9 Jonas Maebe jonas.ma...@elis.ugent.be:
Exception: Sun defined an exception to this requirement, in that your
program is also allowed to link to the MySQL libraries if your program is
licensed under one of the other licenses listed here:
2009/9/11 Corrado Valeri corradoval...@gmail.com:
Is there someone that can bring some interesting contribuites to discussion?
Yes, I'd like to suggest that we don't discuss it here. These
discussions usually deliver a huge amount of unsubstantiated arguments
from people that don't know a
2009/9/21 T. Guilleminot t...@guilleminot.org:
Hi,
Does anyone know a simple way to check if a Linux process exists/runs
(child or not) *without* running an OS command via TProcess (or other)?
You can read all the /proc/%d/cmdline files to search for a specific process.
Henry
2009/9/21 Marco van de Voort mar...@stack.nl:
In our previous episode, Henry Vermaak said:
Does anyone know a simple way to check if a Linux process exists/runs
(child or not) *without* running an OS command via TProcess (or other)?
You can read all the /proc/%d/cmdline files to search
2009/9/21 fpcl...@silvermono.co.za:
While scanning /proc may not be portable, the question asked is about checking
for a running Linux process. The only way I know is scanning all directories
within /proc (which as you all know are the id's of the running processes)
and checking for the
2009/9/28 leledumbo leledumbo_c...@yahoo.co.id:
I notice nowadays fpc is bootstrapped with WPO enabled. Since WPO strategy
used by fpc is two phase build, the build time takes significantly longer. I
don't see much enhancement other than a little smaller binary size (it may
benefit from
2009/10/3 Jorge Aldo G. de F. Junior jagf...@gmail.com:
Can anyone help me decypher the following code :
int tun_alloc(char *dev)
{
struct ifreq ifr;
First, you need to get a pascal definition of struct ifreq, so look in
/usr/include/linux/if.h and translate it to pascal (or try and
2009/10/6 章宏九 secludeds...@gmail.com:
In the document
(http://www.freepascal.org/docs-html/ref/refsu15.html#x38-450003.3.2)
I read the code below:
Type
MyRec = Record
X : Longint;
Case byte of
2 : (Y : Longint;
case byte of
3
2009/10/6 Henry Vermaak henry.verm...@gmail.com:
I can't really comment on the scary details, since I'm rubbish at
object oriented programming :)
And objects aren't deprecated, since the compiler uses them (afaik).
Henry
___
fpc-pascal maillist
2009/10/10 Jürgen Hestermann juergen.hesterm...@gmx.de:
Its a common mistake to use @dynamic array var instead of @dynamic
array var[ 0 ].
IMO this happens because of an illogical design flaw (which seems to be
introduced by Borland). If I have a variable that is a *pointer* to an array
then
2009/10/10 Jürgen Hestermann juergen.hesterm...@gmx.de:
It is illogical that I am able to enumerate a pointer as if it was an array.
So the brackets do the dereferencing automatically. When I write X[1] it
assumes I meant X^[1]. To the user it behaves the same as if X was an array
instead of
2009/10/10 Jürgen Hestermann juergen.hesterm...@gmx.de:
It is illogical that I am able to enumerate a pointer as if it was an array.
So the brackets do the dereferencing automatically. When I write X[1] it
assumes I meant X^[1]. To the user it behaves the same as if X was an array
instead of
2009/10/10 Marco van de Voort mar...@stack.nl:
http://en.wikipedia.org/wiki/C_syntax#Accessing_elements
That link is talking about interchangability, which is not the same as being
the same.
Yes, I'm just trying to explain that there's no magic to it,
illustrated by some basic pointer
2009/10/10 Jürgen Hestermann juergen.hesterm...@gmx.de:
I can't understand what you are trying to say. An array is a pointer
to where the elements of the array resides in memory. How else do you
think it works?
just look at:
type ArrayType = array[1..10] of char;
var X : ArrayType;
2009/10/10 Vinzent Höfler jellyfish.softw...@gmx.net:
Henry Vermaak henry.verm...@gmail.com
I can't understand what you are trying to say. An array is a pointer
to where the elements of the array resides in memory.
No, not in Pascal. In Pascal an array is a variable just like any other
1 - 100 of 420 matches
Mail list logo