On 09/30/2015 07:18 AM, Jonas Maebe wrote:
Andrea Mauri wrote on Wed, 30 Sep 2015:
var
a, b: Double;
begin
a:= 5.1005;
b:= 5.1;
if samevalue(a, b) then // I get TRUE - right!
label1.Caption:= 'same value (variable): True'
else
label1.Caption:= 'same valu
On 09/15/2015 12:07 PM, Tomas Hajny wrote:
On Tue, September 15, 2015 10:04, Michael Van Canneyt wrote:
On Tue, 15 Sep 2015, Ondrej Pokorny wrote:
.
.
Are there some high level crossplatform semaphore functions in the FCL?
The cthreads/cIntSemaphoreOpen etc. seem to be available on unix on
On 12/22/2014 4:32 PM, Sven Barth wrote:
On 22.12.2014 19:44, waldo kitty wrote:
On 12/22/2014 1:28 PM, Tomas Hajny wrote:
Do you always include "-gh" to "OPT=" (i.e. is the 250 kB log created
with that option)?
yes... that's my standard update script created a few
On 12/22/2014 1:44 PM, waldo kitty wrote:
On 12/22/2014 1:28 PM, Tomas Hajny wrote:
Do you always include "-gh" to "OPT=" (i.e. is the 250 kB log created
with that option)?
yes... that's my standard update script created a few years back...
this appears to be worki
On 12/22/2014 1:28 PM, Tomas Hajny wrote:
On 22 Dec 14, at 13:19, waldo kitty wrote:
it generated a 61Meg log file that is normally less than 250K plus no working
binaries :(
i'll try another update and if that doesn't work, then another clean pull like i
had to do previously to g
On 12/22/2014 10:19 AM, Jonas Maebe wrote:
On 22 Dec 2014, at 14:29, waldo kitty wrote:
OS: vista
starting ppc286: 2.6.4
I don't see any compile failure in your log, just many memory leaks.
it generated a 61Meg log file that is normally less than 250K plus no working
binaries :(
OS: vista
starting ppc286: 2.6.4
***
doupdatefpc.bat v0.1.1 executing with '' on 2014-12-22 at 07:57 EST
set myRoot=c:\freepascal
set myFPCver=trunk
set myFPCpath=c:\freepascal\fpc\trunk
set myLAZpath=c:\freepascal\laz
se
On 12/17/2014 3:08 PM, rpzrpz...@gmail.com wrote:
No disrespect, but, don't you think it is time to retire your OS/2 computer?
absolutely not... it is a good OS for the jobs that it does... it isn't targeted
by skiddies and hackers, either... personally speaking, my OS/2 boxen have been
my fr
my understanding of TRUE and FALSE has always been
FALSE = 0
TRUE = !FALSE
we have, in some of our code, used this to determine a "truth level" returned by
some routines... in other words, when we're detected TRUE we've then looked at
the value of the variable returning TRUE... depending
On 12/3/2014 6:04 PM, Tomas Hajny wrote:
On 3 Dec 14, at 16:38, waldo kitty wrote:
i'm trying to figure out the macros to have FP search for and output files in
i386-win32
i386-os2
i386-linux
and similar... i had thought that $FPCTARGETCPU-$FPCTARGETOS would work but
appar
i'm trying to figure out the macros to have FP search for and output files in
i386-win32
i386-os2
i386-linux
and similar... i had thought that $FPCTARGETCPU-$FPCTARGETOS would work but
apparently not... so, without hardcoding them, how can i have FP use the same
directories that Lazarus
i wasn't able to figure this out but i did make it a little further after i
updated all the .O and .ppu files in the trunk/units/i386-win32/fcl-base
directory... the next error was
=== snip ===
Start compiling package utils for target i386-win32.
Compiling BuildUnit_utils.pp
Com
On 12/1/2014 1:24 PM, waldo kitty wrote:
i am going to make a copy of my bootstrap directory and attempt to update the
existing files from the FPC 2.6.4 installation... i'll get back with the
results... of course, my update script will pull a new revision from the
repository during this pr
On 12/1/2014 5:32 AM, Marco van de Voort wrote:
In our previous episode, waldo kitty said:
OS=Vista
FTP Trunk=r29189
cd /d c:\freepascal\fpc\trunk
rd /s /q c:\freepascal\fpc\trunk\examps
make distclean
TortoiseProc /command:update /path:"c:\freepascal\fpc\trunk"
ren c:\freepascal
OS=Vista
FTP Trunk=r29189
cd /d c:\freepascal\fpc\trunk
rd /s /q c:\freepascal\fpc\trunk\examps
make distclean
TortoiseProc /command:update /path:"c:\freepascal\fpc\trunk"
ren c:\freepascal\fpc\trunk\examples examps
compiling FPC trunk...
make all install INSTALL_PREFIX=c:\freepascal\fpc\trunk
On 11/25/2014 6:48 PM, Gennady Agranov wrote:
Hi,
When can regular FPC user expect 2.7.1 to graduate and be marked as stable
release?
it won't... if i understand the fpc versioning methods, it will be 2.7.2 or
2.8.0 ;)
Somewhere in Spring - like 2.6.4?
we used to have a well used and sli
On 10/17/2014 10:58 AM, Paul Michell wrote:
What are the files crti.o, crtn.o, crtbegin.o, crtend.o used for by Free Pascal?
from their name, many think they are CRT related but they are C RunTime
libraries, actually...
Is this dependency something new, or has it always been there?
if you
On 9/26/2014 4:51 AM, Mattias Gaertner wrote:
On Fri, 26 Sep 2014 10:38:04 +0200 (CEST)
Michael Van Canneyt wrote:
[...]
To allow for doing this with thread, an event queue for worker threads needs
to be provided.
Huh? WHY ?
That's why:
https://www.youtube.com/watch?v=BKorP55Aqvg
ROTFLM
On 4/7/2014 2:23 PM, Tomas Hajny wrote:
On 7 Apr 14, at 12:47, waldo kitty wrote:
i've a need to work with the OS2 timezone parameter in the OS' system clock...
Which "parameter" do you mean, DosCalls.TDateTime (aka _DATETIME
defined in OS/2 headers for C)?
ummm... ?
i've a need to work with the OS2 timezone parameter in the OS' system clock...
i'm not understanding a few things and haven't been able to figure out the code
path so i'm writing here to ask for some assistance... if this should be in the
user's list, please let me know and i'll move the conve
On 3/17/2014 2:14 PM, Marco van de Voort wrote:
In our previous episode, waldo kitty said:
in the above mentioned document, it also speaks of the grab_vcsa tool... i tried
linking this from my ~/development (created by fpcup) but ended up having to
actually copy the binary to /usr/local/bin (in
On 3/17/2014 2:07 PM, Mark Morgan Lloyd wrote:
waldo kitty wrote:
On 3/17/2014 6:46 AM, Mark Morgan Lloyd wrote:
There might be something related to the locale command relevant to this. As a
quick test I've just fired up fp on a Debian (non-x86) console and framing etc.
was OK, I see
On 3/17/2014 6:46 AM, Mark Morgan Lloyd wrote:
waldo kitty wrote:
i'm not sure this is the proper area for this... if it is not, please point me
to the proper list...
i've a ubuntu system that i'm trying to run fp on... X does *not* start
automatically... i'm working from t
emote Character set" and set to UTF8.
Then go to session and save! it.
Other remote shells should have similar options.
Thaddy
On 16-3-2014 22:08, waldo kitty wrote:
i'm not sure this is the proper area for this... if it is not, please point me
to the proper list...
i've a ub
i'm not sure this is the proper area for this... if it is not, please point me
to the proper list...
i've a ubuntu system that i'm trying to run fp on... X does *not* start
automatically... i'm working from the virtual console(s) 99% of the time... what
i'm seeing and trying to solve is the
On 8/23/2013 20:45, Steve Smith wrote:
On 23/08/13 20:41, Sven Barth wrote:
"Here's some code, assemble it, and be quick about it johnny!"
Was that a Short Circuit reference? O.o
Once again in English please. I just don't understand that last sentence at all.
Sorry.
Short Circuit movie - J
i'm trying to figure out why i'm seeing the following failures...
c:\freepascal\fpc\trunk is SVN updated (25100 at this run)... yes, i see that i
can possibly remove clean from the second make line in the following...
everything before the [CHOMP] is my script... everything after the [CHOMP] i
On 6/2/2013 12:42, Sven Barth wrote:
On 02.06.2013 18:37, waldo kitty wrote:
1. can FPC 2.6.0 (bootstrap) be used to bootstrap trunk or do i need to
replace my current binutils/ppc386.exe with the 2.6.2 one?
You can still use 2.6.0, but it won't be supported forever.
thanks to you and
i have used (some time ago) the wiki page about pulling FPC and Lazarus from SVN
and bootstrapping them... i have scripts that follow that process on my winboxen
pretty closely so that i don't have to remember all the details...
one of the steps was to make a directory binutils and inside the
On 6/1/2013 18:44, Maciej Izak wrote:
Thanks for response.
Compiler uses internally some LongStrings which is not possible to use for
variable declarations. I don't know whether this type is needed in RTTI. And
yes, Delphi uses tkLString instead of tkAString for ansistrings.
Clear.
On 3/16/2013 11:36, Stefan Fischer wrote:
Hi,
I have 220 strings in the list. Also the code works in a small sample program.
I put the code in a unit an used the function in a bigger project with multiple
units.
In that environment, the code fails in glibc. The content of the string list was
the
On 3/5/2013 05:50, Graeme Geldenhuys wrote:
I'm also trying to use fpmake for other "hourly build server" tasks,
where I need to do clean compiles of various independent packages first,
then build the test suite that pulls everything together. eg: building
Synapse, FBLib, tiOPF, EpikTimer, fpGUI
On 3/5/2013 04:20, Graeme Geldenhuys wrote:
On 2013-03-04 20:33, Howard Page-Clark wrote:
You can simulate this in FPC as well as TP by using a local typed
constant. e.g.
function GetValue: integer;
const value: integer = 0;
begin
Inc(value);
Result:= value;
end;
I've seen this befo
On 3/4/2013 15:33, Howard Page-Clark wrote:
On 04/03/13 6:34, waldo kitty wrote:
i'm trying to understand what you mean by
> Pascal don't allows to create static variables inside function
> like in c-like languages.
i've done something that i think is what you s
It is as I thought about closures before. But this is useless without capturing
of variables by value. During creation of anonymous method you *can not bind any
values* to it. Anonymous method have only references to captured variables.
Pascal don't allows to create static variables inside functio
On 2/25/2013 02:27, silvioprog wrote:
2013/2/21 Florian Klämpfl mailto:flor...@freepascal.org>>
Am 21.02.2013 19:43, schrieb silvioprog:
> Hello,
>
> I generates some PPUs in a version of FPC. I try to use it in other
> version of FPC, but it not compiles.
>
> S
On 1/30/2013 04:04, Michael Schnell wrote:
On 01/28/2013 08:03 PM, waldo kitty wrote:
i'm trying to make sure i'm following along here because i'm also using
synapse for a project...
Do you know where to find the Synapse "Powers" ?
no, sorry, i do not... i haven
On 1/28/2013 05:47, Michael Schnell wrote:
I tried to reproduce this with a more simple project, just accessing a
non-existing IP address, but I found that while on Windows here Synapse issues a
time out (after some seconds, exactly like when the Heating Controller fails to
answer), when compilin
On 1/25/2013 13:59, Michael Van Canneyt wrote:
On Sat, 26 Jan 2013, Alexander Klenin wrote:
I certainly agree that Pascal has some advantages -- and they often
outweigh disadvantages.
Otherwise, I would be in Python's mailing list now, arguing to add
some of the Pascal's features :)
However, thi
On 1/25/2013 11:30, Florian Klämpfl wrote:
Am 25.01.2013 17:18, schrieb Alexander Klenin:
var
a: array [1..5] of Integer = (1, 2, 9, 4, 5);
In my proposal, he should write:
var
v, i: Integer;
begin
for a in a index i do
Writeln(i, ' ', v);
end.
In this case I just write
for i:=
On 1/16/2013 04:57, Marco van de Voort wrote:
In our previous episode, waldo kitty said:
Otherwise I'd agree :)
On old hardware, maybe, but these days ?
please define "old hardware"... PII 300mhz is "too old"? PIII 800mhz? and of
course, how much RAM would
On 1/15/2013 06:01, Michael Van Canneyt wrote:
On Tue, 15 Jan 2013, Sven Barth wrote:
Am 15.01.2013 11:52, schrieb Michael Van Canneyt:
That is a weird assumption. I would go for the second one, hands down...
I wouldn't if the second one is significantly slower than the first one.
Otherwise I
On 12/28/2012 10:46, patspiper wrote:
On 28/12/12 17:41, patspiper wrote:
On 28/12/12 17:00, Ewald wrote:
As I said, I didn't know formats of /proc/cpuinfo differ over
distributions/os'es, so it isn't safe to use this approach since all of the
sudden a simly system update *might* just break you
On 11/2/2012 09:32, Sergei Gorelkin wrote:
In other words, XML is wrong technology to work with binary data, unless it is
encoded into textual form (Base64 or alike).
encoding into textual form one increases the size of the stream by at least
1/3rd... a 3M file will be a 4M stream when encoded
On 10/18/2012 13:22, Mark Morgan Lloyd wrote:
Sven Barth wrote:
But now the solution (I can't hold it back any longer myself ^^): Pierre was
right. M68k is BACK!
Nicely done.
but I also plan to test Aranym (which emulates a M68040)
I was impressed by it, unpretentious but effective. The o
On 10/18/2012 07:13, Sven Barth wrote:
So... now I'm curious what you think I have worked on and I'm also curious
whether someone can fully "decipher" that little story. :)
i don't konw, specifically, of what you speak but the story has been told many
times since opensource reared its head...
On 8/20/2012 21:38, ABorka wrote:
Is there a way to see the generated ".s" assembly files as Intel syntax instead
of the AT&T one?
The -Rintel flag does not seem to work, or I am doing something wrong.
Tried command line and fpc.cfg both, on win32 and win64, latest SVN .
what command line, exa
On 6/21/2012 18:44, Paul Ishenin wrote:
22.06.12 5:39, silvioprog пишет:
Hello,
I'm trying to write "Atenção" in terminal, but it writes "At├º├úo"
instead of "Atenção" (please see http://imagebin.org/217387 ). :(
...
program test;
{$mode objfpc}{$H+}
try {$codepage utf8} or add an utf8 BOM
i said i'd try to test...
On 6/21/2012 17:39, silvioprog wrote:
program test;
{$mode objfpc}{$H+}
{$IFDEF MSWINDOWS}
uses
windows;
{$ENDIF}
const
C = 'Atenção';
begin
{$IFDEF MSWINDOWS}
SetConsoleOutputCP(CP_UTF8);
Set
On 6/21/2012 17:39, silvioprog wrote:
Hello,
I'm trying to write "Atenção" in terminal, but it writes "At├º├úo"
instead of "Atenção" (please see http://imagebin.org/217387 ). :(
open a cmd window and type "chcp"... if that still exists in win7, it should
tell you the codepage being used... lo
my apologies if this is not the proper list... i've looked at SVN a time or two
but have not determined which of the branches contain the release of 2.6.0... i
would like to move my current totally SVN FPC/Lazarus installation to the
current release of FPC...
thanks!
On 4/27/2012 03:45, Ivan Bobyr wrote:
PS:
If the main advantage of FPC over C/C++ is its automatic memory management then
we should obviously use it, correct ?
FWIW and as late to the conversation as it is, i must add that it isn't memory
management that's the big plus for pascal languages...
On 2/23/2012 18:54, Amir wrote:
On 02/23/2012 02:20 PM, Hans-Peter Diettrich wrote:
The initialization of every class instance is a major improvement over
e.g. C++ classes. I'd say that you should accept it, instead of
searching for workarounds, with hard to predict effects in the remaining
code
On 2/23/2012 03:29, Sven Barth wrote:
Am 23.02.2012 09:27 schrieb "Sven Barth" mailto:pascaldra...@googlemail.com>>:
> Yes, FillChar is needed, because a class instance is guaranteed to have
Bennett initialized with zero before the first constructor is called (this way
the fields are basically i
On 1/21/2012 18:07, Florian Klämpfl wrote:
Am 18.01.2012 13:54, schrieb Gennadiy Poryev:
Hi all,
In my project (win32) I need to estimate the number of machine code bytes of a
certain function.
What about using the map file?
there's a map file? how is it created? i'm already using the "go
On 1/21/2012 15:49, Mark Morgan Lloyd wrote:
Paul Robinson wrote:
>>> That (PASCALMAIN) will have to change, the object file format for
>>> 370 machines limits a CSECT to 8 characters, with the optional
>>> characters @ # and $. So I might call it MAIN or possibly #MAIN.
>>> (On the PDP/11,
On 1/1/2012 12:20, Felipe Monteiro de Carvalho wrote:
On Sun, Jan 1, 2012 at 2:12 PM, Jeff Duntemann wrote:
Bravo! My only question is: Are there any particular issues with respect to
using 2.6.0 with Lazarus?
For desktop platforms I don't know any issues. It works just as good as 2.4
"jus
On 12/23/2011 14:04, waldo kitty wrote:
[stuff]
ouch... my profound apologies to everyone... that was supposed to go private and
i have only myself and my [reply] (vs [reply list] or [reply all]) button to
blame...
___
fpc-devel maillist - fpc
On 12/23/2011 07:21, Marco van de Voort wrote:
In our previous episode, Skybuck Flying said:
Currently there simply is no dynamic/runtime version of it.
You are totally right. Please submit a patch for conforming arrays support
:-)
ROTFL! sneaky sneaky sneaky but i love it! hehehe...
good
On 12/13/2011 04:17, Tomas Hajny wrote:
On Tue, December 13, 2011 01:08, waldo kitty wrote:
On 12/9/2011 07:13, Tomas Hajny wrote:
Obviously assuming that something like that is possible on a certain
platform at all (GO32v2 not having the TZ environment variable defined
will simply never be
On 12/9/2011 07:13, Tomas Hajny wrote:
On Fri, December 9, 2011 13:07, Jonas Maebe wrote:
On 09 Dec 2011, at 12:28, Michael Van Canneyt wrote:
The linux kernel returns UTC time, it always has. Now() converts
this to local time.
(as does libc). All NowUTC needs to do is return the kernel time.
On 10/31/2011 15:47, Sven Barth wrote:
Maybe a possibilty should be implemented in unit Unix to reread the timezone
file. This wouldn't solve your problem directly, but it would at least provide
the ability to update the time zone information without restarting the
application/service. The trigge
On 9/22/2011 14:38, Sven Barth wrote:
On 22.09.2011 18:03, waldo kitty wrote:
On 9/22/2011 03:28, Sven Barth wrote:
Compiling the trunk compiler is only supported when using the latest
release
(currently 2.4.4) as a starting compiler.
where in the SVN can this be pulled from, please. would
On 9/22/2011 03:28, Sven Barth wrote:
Compiling the trunk compiler is only supported when using the latest release
(currently 2.4.4) as a starting compiler.
where in the SVN can this be pulled from, please. would it be (from memory)
tags/release_2_4_4?
___
On 9/15/2011 19:03, cobines wrote:
2011/9/15 Hans-Peter Diettrich:
cobines schrieb:
When doing:
MyChar := MyString[1]
appropriate function retrieves first unicode character, regardless of
encoding.
This is just wrong :-(
MyString[1] accesses the first element of the *physical* character arr
On 9/12/2011 20:30, Skybuck Flying wrote:
Well I hope the pascal language is updated so semicolons become required for
end's.
semicolons terminate statements... end does not...
Take a long hard look at the P4 or P5 code and you will find a lot of if then
else statements with *wrong identatio
On 8/14/2011 14:09, Graeme Geldenhuys wrote:
On 12 August 2011 14:12, Michael Schnell wrote:
But you can't use the Lazarus GUI designer. I feel that without same the
development is far more stressful.
GUI designers are not always needed. Take MiGLayout manager for Java.
It is extremely easy
On 8/13/2011 11:14, Jonas Maebe wrote:
From the horse's mouth:
https://forums.embarcadero.com/message.jspa?messageID=379331#379331
"If there are any changes or fixes we would contribute them, happily. I don't
believe that we made any but it's our policy to contribute back fixes/changes to any
On 8/7/2011 12:50, Jonas Maebe wrote:
On 07 Aug 2011, at 17:57, Graeme Geldenhuys wrote:
Makes you wonder, will they start submitting patches for FPC too?
I hope so. The main problem I see with that is that they would become somewhat
"tainted" by the FPC source code if they do so, which may
On 7/18/2011 18:26, Jonas Maebe wrote:
On 19 Jul 2011, at 00:16, waldo kitty wrote:
On 7/17/2011 10:43, Marcos Douglas wrote:
On Sun, Jul 17, 2011 at 6:48 AM, Jonas Maebe wrote:
I never used distclean before updating from SVN and a never got problems.
I use WinXP and TortoiseSVN.
me
On 7/17/2011 10:43, Marcos Douglas wrote:
On Sun, Jul 17, 2011 at 6:48 AM, Jonas Maebe wrote:
To be safe, you should always make distclean before updating from svn (even
without fpmake, since directories or units may get moved, which then won't be
cleaned anymore after the update). Now, for
ttias...
Original Message
Subject: Re: [Lazarus] error compiling latest SVN laz...
Date: Thu, 2 Jun 2011 20:32:39 +0200
From: Mattias Gaertner
Reply-To: Lazarus mailing list
To: laza...@lists.lazarus.freepascal.org
On Thu, 02 Jun 2011 10:14:19 -0400
waldo kitty
On 3/25/2011 17:57, Jonas Maebe wrote:
On 25 Mar 2011, at 22:33, Sven Barth wrote:
1. Record helpers in Delphi don't support inheritance. In FPC they do and I believe (see
point 2) that record helpers in Delphi could support that as well, but it's been disabled
on purpose. I personally think
On 3/6/2011 16:46, Jeppe Johansen wrote:
A better idea, I think, is to use the old interrupt procedure directive. For
some embedded platforms simply allow also specifying a interrupt vector/index
after the interrupt keyword. Ex:
procedure USARTRxInterrupt; interrupt 10;
begin
// Handler code
end
i caught the below after pulling SVN
http://svn.freepascal.org/svn/fpc/branches/fixes_2_4 which took me to rev: 16976
i was running the makefpc.bat from the wiki "how to build from svn" page... not
a new never before executed make but one over the existing and now updated system...
W2K-sp4
thump! thump! is this thing turned on?
after unzipping the os2242ffull.zip to a temporary directory and reading the
readme.txt file for installation instructions, it says to run the install
executable and to make sure to update the PATH and LIBPATH entries as noted in
the install program...
76 matches
Mail list logo