Re: [Lazarus] Mac OS X : Revision 19889 not compiling under 10.4

2009-05-10 Thread dominique
As it was a clean SVN build, no, but I'm grabbing an overnight snapshot in
the hope that it will work.

But will that allow me to cross-build the IDE for PowerPC as well, as I
need to build a Universal Binary of my app?

I suppose I can just set the target up and that should just work for the
app and then I can glue the 2 binaries together.

Dominique.

On Sun, 10 May 2009 08:42:39 +0400, dmitry boyarintsev
skalogryz.li...@gmail.com wrote:
 can you rebuild the Lazarus from IDE, excluding TAChartLazarusPkg
package?
 
 thanks,
 dmitry
 ___
 Lazarus mailing list
 Lazarus@lazarus.freepascal.org
 http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac OS X : Revision 19889 not compiling under 10.4

2009-05-10 Thread Vincent Snijders
domini...@savagesoftware.com.au schreef:
 As it was a clean SVN build, no, but I'm grabbing an overnight snapshot in
 the hope that it will work.
 
 But will that allow me to cross-build the IDE for PowerPC as well, as I
 need to build a Universal Binary of my app?
 
 I suppose I can just set the target up and that should just work for the
 app and then I can glue the 2 binaries together.
 

For what it is worth, the snapshot on powerpc-darwin build fine with fpc 
2.2.4 after the latest changes of tachart. OTOH, the snapshots are not 
built with range and overflow checking and this error might occur only 
if you compile with these flags.

Vincent
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac OS X : Revision 19889 not compiling under 10.4

2009-05-10 Thread Alexander Klenin
On Sun, May 10, 2009 at 07:56,  domini...@savagesoftware.com.au wrote:
 Hi all,
  I just grabbed the latest SVN - 19889 and a build of bigide is not
 working.
 The error occuring is...

 Free Pascal Compiler version 2.3.1 [2009/05/09] for powerpc
 Copyright (c) 1993-2009 by Florian Klaempfl
 Target OS: Darwin for PowerPC
 Compiling tachartlazaruspkg.pas
 Compiling taseries.pas
 Compiling tagraph.pas
 tagraph.pas(1368,40) Error: range check error while evaluating constants
 tagraph.pas(1368,50) Error: range check error while evaluating constants
 tagraph.pas(1503) Fatal: There were 2 errors compiling module, stopping

The line in question contains
DoubleRect(Infinity, Infinity, NegInfinity, NegInfinity)
call, so range check error makes some sense.
Still, I think it is a compiler bug, especially since an absurd
attached patch fixes it.

If FPC developers think the range check is correct,
then it should be disabled for this one line and returned to
previous state afterwards --
is there a way to do this?

Cc'ing fpc-devel list.

-- 
Alexander S. Klenin
Index: tagraph.pas
===
--- tagraph.pas	(revision 19825)
+++ tagraph.pas	(working copy)
@@ -1359,13 +1359,15 @@
 
   end;
 
+const
+  ninf: Double = NegInfinity;
+  inf: Double = Infinity;
 var
   i: Integer;
 begin
   if FIsZoomed then exit;
   Extent.CheckBoundsOrder;
-
-  FCurrentExtent := DoubleRect(Infinity, Infinity, NegInfinity, NegInfinity);
+  FCurrentExtent := DoubleRect(inf, inf, ninf, ninf);
   for i := 0 to SeriesCount - 1 do
 with Series[i] do
   if Active then
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TBitmap.Canvas.Pixel

2009-05-10 Thread Felipe Monteiro de Carvalho
Hello,

Did you have time to check this?

thanks,
-- 
Felipe Monteiro de Carvalho
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] LCL online docs

2009-05-10 Thread Felipe Monteiro de Carvalho
Hello,

There is something wrong with the online LCL docs:

http://lazarus-ccr.sourceforge.net/docs/lcl/graphics/index.html

-- 
Felipe Monteiro de Carvalho
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] LCL online docs

2009-05-10 Thread Vincent Snijders
Felipe Monteiro de Carvalho schreef:
 Hello,
 
 There is something wrong with the online LCL docs:
 
 http://lazarus-ccr.sourceforge.net/docs/lcl/graphics/index.html
 

Part of the output while building the docs:
Version 2.3.1 [2009/05/03]
(c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther, s...@freepascal.org
../../../lcl/graphics.pp(2492,-135646650): Invalid token in interface 
section of unit at token EOF

I try to find out more.

Vincent

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus