Hi,
I had a very small and nasty bug that I discovered today.
I use strftime to format a date, and I accidentally used the %g option
rather then %y.
The difference is that %g is returning the year of the week (2009 this
week), while %y return the year of today (2008).
So I wanted to warn everyon
Since it's possible to use libc's MM via cmem unit, would the opposite be
possible?
--
View this message in context:
http://www.nabble.com/Using-FPC-MM-in-a-C-program-tp21229445p21229445.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
___
On Wed, 31 Dec 2008, leledumbo wrote:
>
> Since it's possible to use libc's MM via cmem unit, would the opposite be
> possible?
>From the point of view of FPC, there should not be a big problem.
The C library, this is another matter. I am not sure that it
supports plugging in a memory manager.
On Tue, 30 Dec 2008, John Coppens wrote:
> On Tue, 30 Dec 2008 09:25:29 -0700
> "Seth Grover" wrote:
>
> > Is this broken or am I missing something?
>
> I suspect the problem is in this function:
>
> Function SecondsBetween(const ANow, AThen: TDateTime): Int64;
> begin
> Result:=Trunc(Abs(
On Wed, Dec 31, 2008 at 4:39 PM, Michael Van Canneyt
wrote:
>
>
> On Wed, 31 Dec 2008, leledumbo wrote:
>
>>
>> Since it's possible to use libc's MM via cmem unit, would the opposite be
>> possible?
>
> >From the point of view of FPC, there should not be a big problem.
> The C library, this is ano
What if I replace libc's MM code with FPC one? Is it permitted?
--
View this message in context:
http://www.nabble.com/Using-FPC-MM-in-a-C-program-tp21229445p21230388.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
___
fpc
Michael Van Canneyt wrote:
On Wed, 31 Dec 2008, leledumbo wrote:
Since it's possible to use libc's MM via cmem unit, would the opposite be
possible?
>From the point of view of FPC, there should not be a big problem.
The C library, this is another matter. I am not sure that it
supports plug
On Wed, 31 Dec 2008, Vinzent Höfler wrote:
> Michael Van Canneyt wrote:
> >
> > On Wed, 31 Dec 2008, leledumbo wrote:
> >
> > > Since it's possible to use libc's MM via cmem unit, would the opposite be
> > > possible?
> >
> > > >From the point of view of FPC, there should not be a big problem
Hi all
I'm sorry in advanced about my poor english (I'm spanish talking)
I am returning to pascal, and in OSX 10.5.5, fpk 2.2.2 (installed from .dmg)
I tried this:
program first;
var a:integer;
begin
a:=1;
writeln (a);
end.
But when I tried compling the response was:
Free Pascal Compiler
Op dinsdag 30-12-2008 om 21:44 uur [tijdzone -0200], schreef John
Coppens:
> On Tue, 30 Dec 2008 09:25:29 -0700
> "Seth Grover" wrote:
>
> > Is this broken or am I missing something?
>
> I suspect the problem is in this function:
>
> Function SecondsBetween(const ANow, AThen: TDateTime): Int64;
Op woensdag 31-12-2008 om 09:11 uur [tijdzone -0500], schreef César
Espinoza:
> Free Pascal Compiler version 2.2.2 [2008/08/03] for i386
> Copyright (c) 1993-2008 by Florian Klaempfl
> Target OS: Darwin for i386
> Compiling program1.pas
> Assembling first
> Error: Assembler as not found, switching
Joost van der Sluis ha scritto:
Op woensdag 31-12-2008 om 09:11 uur [tijdzone -0500], schreef César
Espinoza:
Free Pascal Compiler version 2.2.2 [2008/08/03] for i386
Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Darwin for i386
Compiling program1.pas
Assembling first
Error: Assembler
Free Pascal to Red Code compiling...
Can it be done ? ;)
Could make free pascal a little bit more interesting :)
Bye,
Skybuck :)
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On 31 Dec 2008, at 17:04, Giulio Bernardi wrote:
Joost van der Sluis ha scritto:
Op woensdag 31-12-2008 om 09:11 uur [tijdzone -0500], schreef César
Espinoza:
Free Pascal Compiler version 2.2.2 [2008/08/03] for i386
Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Darwin for i386
Compil
14 matches
Mail list logo