Re: [fpc-pascal] Access inherited^2

2008-08-04 Thread Joao Morais

Johann Glaser wrote:

Hi!

Am Montag, den 04.08.2008, 08:23 -0300 schrieb Joao Morais:

Johann Glaser wrote:

How can I access an inherited inherited method which was overloaded?

You can't, one of them will need to have a different name.


Thanks.

Why is a method hidden, just because it has the same name? Isn't it a
totally different method, because it has different parameters? Then it
should be visible. Or did I miss something?


Well, afaik you cannot overload methods which belongs to different 
classes, even if one inherits from the other. Otoh, note that the 
Zaher's tip should work very well.


Imho a better approach is change the constructor name if you _really_ 
need to use two incompatible params list. Even better would be creating 
constructors with the same syntax. You can use default parameters to 
accomplish this.


Joao Morais
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re[4]: [fpc-pascal] Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC

2008-08-04 Thread Roland Turcan
Hello Mattias,

I have got some new facts about my problem. When I tried to execute
lazbuild with

./lazbuild -B --build-ide="-va -dVerboseOFExecute"

I've got the executable. When I try to start it, then nothing is
shown. When I try it over gdb then it writes that

MG> macg4:lazarus test$ gdb lazarus.app/
MG> GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct  2 04:11:19 UTC 
2007)
MG> Copyright 2004 Free Software Foundation, Inc.
MG> GDB is free software, covered by the GNU General Public License, and you are
MG> welcome to change it and/or distribute copies of it under certain 
conditions.
MG> Type "show copying" to see the conditions.
MG> There is absolutely no warranty for GDB.  Type "show warranty" for details.
MG> This GDB was configured as "powerpc-apple-darwin"...Reading
MG> symbols for shared libraries .. done
MG>
MG> (gdb) r
MG> Starting program:
MG> /usr/local/share/lazarus/lazarus.app/Contents/MacOS/lazarus 
MG> Reading symbols for shared libraries + done
MG> Reading symbols for shared libraries . done

in this point starts "Never ending story" and nothing is shown. Then I press 
Ctrl-C

MG> ^C
MG> Program received signal SIGINT, Interrupt.
MG> 0x917803a8 in poll$UNIX2003 ()
MG> (gdb)

PS: msgview.lrs and msgview.lfm are from SVN 15417.

TRoland;

<<< 4.8.2008 18:08 - Mattias Gärtner "[EMAIL PROTECTED]" >>>
MG> Zitat von Roland Turcan <[EMAIL PROTECTED]>:

>> Hello All,
>>
>> Does anybody have any idea, what I can do with this problem?
>>[...]

MG> I never saw this problem.

>> >> > Compiling ./unit/ResConf.pas
>> >> > Assembling resconf
>> >> > An unhandled exception occurred at $00148A20 :
>> >> > TOutputFilter.Execute After Loop
>> >> > TOutputFilter.Execute fProcess.ExitStatus=217
>> >>
>> >> Hmm. Maybe this means the compiler got an runtime error 217. I wonder what
>> >> this means.
>>
>> VH> That it stopped due to an unhandled exception (that is what RTE217
>> means).

MG> Normally a process stopping with runtime error 217 gives:

MG> TCompiler.WriteError Internal compiler error! (217)
MG> Internal compiler error! (217)

MG> But Roland does not get this error message and the gdb backtraces do not 
help
MG> much. And for some reasons both lazarus and fpc have trouble. FPC gives 217 
and
MG> TProcess can not handle it. So it is no normal 217.

MG> Mattias

MG> ___
MG> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
MG> http://lists.freepascal.org/mailman/listinfo/fpc-pascal




-- 
Best regards, TRoland
http://www.rotursoft.sk
http://exekutor.rotursoft.sk

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Access inherited^2

2008-08-04 Thread Johann Glaser
Hi!

Am Montag, den 04.08.2008, 08:23 -0300 schrieb Joao Morais:
> Johann Glaser wrote:
> > How can I access an inherited inherited method which was overloaded?
> 
> You can't, one of them will need to have a different name.

Thanks.

Why is a method hidden, just because it has the same name? Isn't it a
totally different method, because it has different parameters? Then it
should be visible. Or did I miss something?

Bye
  Hansi


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: Re[2]: [fpc-pascal] Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC

2008-08-04 Thread Mattias Gärtner
Zitat von Roland Turcan <[EMAIL PROTECTED]>:

> Hello All,
>
> Does anybody have any idea, what I can do with this problem?
>[...]

I never saw this problem.

> >> > Compiling ./unit/ResConf.pas
> >> > Assembling resconf
> >> > An unhandled exception occurred at $00148A20 :
> >> > TOutputFilter.Execute After Loop
> >> > TOutputFilter.Execute fProcess.ExitStatus=217
> >>
> >> Hmm. Maybe this means the compiler got an runtime error 217. I wonder what
> >> this means.
>
> VH> That it stopped due to an unhandled exception (that is what RTE217
> means).

Normally a process stopping with runtime error 217 gives:

TCompiler.WriteError Internal compiler error! (217)
Internal compiler error! (217)

But Roland does not get this error message and the gdb backtraces do not help
much. And for some reasons both lazarus and fpc have trouble. FPC gives 217 and
TProcess can not handle it. So it is no normal 217.

Mattias

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re[2]: [fpc-pascal] Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC

2008-08-04 Thread Roland Turcan
Hello All,

Does anybody have any idea, what I can do with this problem?

Thanks.

TRoland;

<<< 4.8.2008 14:08 - "Vinzent Höfler" "[EMAIL PROTECTED]" >>>
VH>  Original-Nachricht 
>> Zitat von Roland Turcan <[EMAIL PROTECTED]>:
>> 
>> > Hello Mattias,
>> >
>> > I have also uncommented some DebugLns which are inside of code:
>> >
>> > Compiling ./unit/ResConf.pas
>> > Assembling resconf
>> > An unhandled exception occurred at $00148A20 :
>> > TOutputFilter.Execute After Loop
>> > TOutputFilter.Execute fProcess.ExitStatus=217
>> 
>> Hmm. Maybe this means the compiler got an runtime error 217. I wonder what
>> this means.

VH> That it stopped due to an unhandled exception (that is what RTE217 means).


VH> Vinzent.




-- 
Best regards, TRoland
http://www.rotursoft.sk
http://exekutor.rotursoft.sk

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Access inherited^2

2008-08-04 Thread Zaher Dirkey
try (but i not like it )

begin
  TFirst(Self).Create(A, B, 0);
end;
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC

2008-08-04 Thread Vinzent Höfler
 Original-Nachricht 
> Zitat von Roland Turcan <[EMAIL PROTECTED]>:
> 
> > Hello Mattias,
> >
> > I have also uncommented some DebugLns which are inside of code:
> >
> > Compiling ./unit/ResConf.pas
> > Assembling resconf
> > An unhandled exception occurred at $00148A20 :
> > TOutputFilter.Execute After Loop
> > TOutputFilter.Execute fProcess.ExitStatus=217
> 
> Hmm. Maybe this means the compiler got an runtime error 217. I wonder what
> this means.

That it stopped due to an unhandled exception (that is what RTE217 means).


Vinzent.
-- 
Pt! Schon das coole Video vom GMX MultiMessenger gesehen?
Der Eine für Alle: http://www.gmx.net/de/go/messenger03
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: Re[4]: [fpc-pascal] Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC

2008-08-04 Thread Mattias Gärtner
Zitat von Roland Turcan <[EMAIL PROTECTED]>:

> Hello Mattias,
>
> I have also uncommented some DebugLns which are inside of code:
>
> Compiling ./unit/ResConf.pas
> Assembling resconf
> An unhandled exception occurred at $00148A20 :
> TOutputFilter.Execute After Loop
> TOutputFilter.Execute fProcess.ExitStatus=217

Hmm. Maybe this means the compiler got an runtime error 217. I wonder what this
means.

>[...]

Mattias

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: Re[3]: [fpc-pascal] Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC

2008-08-04 Thread Mattias Gärtner
Zitat von Roland Turcan <[EMAIL PROTECTED]>:

> Hello Mattias,
>
> I have forgotten to send also result of building under gdb. Here is:
>
> Compiling ./unit/ResConf.pas
> Assembling resconf
> An unhandled exception occurred at $00148A20 :
>
> Breakpoint 1, 0x00017500 in fpc_raiseexception ()
> (gdb) bt
> #0  0x00017500 in fpc_raiseexception ()
> #1  0x0010d334 in TOUTPUTFILTER__EXECUTE (THEPROCESS=0x2788a20,
> ACALLER=0x25e9d40, ATOOL=0x2997200, this=0x27882a0)
> #2  0x003b7bbc in TEXTERNALTOOLLIST__RUN (EXTTOOL=0x2997200,
> MACROS=0x29780c0, THEOUTPUTFILTER=0x27882a0, COMPILEROPTIONS=0x297ce90,
> this=0x25e9d40) at exttooldialog.pas:370

Thanks. Maybe reading fProcess.ExitStatus does some strange things.
I added a check in 15949 for the WaitOnExit, so that for a terminated process
the ExitStatus is not read.

[...]

Mattias

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: Re[2]: [fpc-pascal] Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC

2008-08-04 Thread Mattias Gärtner
Zitat von Roland Turcan <[EMAIL PROTECTED]>:

> Hello Mattias,
>
> MG> /usr/local/share/lazarus/lazbuild --build-ide="-va -dVerboseOFExecute"
>
> I have done all things you wrote me, but the result of compilation
> didn't write any line written by WriteLn inside of IFDEFs. Maybe there
> could be a bug during parsing of -d parameter and IFDEF sections were
> not compiled into the code.

Or:
FPC does not automatically recompile units if a -d option is given. You must add
a -B (build all) yourself or clean up before build.
For example:

/usr/local/share/lazarus/lazbuild --build-ide="-dVerboseOFExecute -B"


> Therefore I have commented IFDEFs out to
> get them into lazbuild and the result is the following:
>
> Compiling ./unit/ResConf.pas
> Assembling resconf
> An unhandled exception occurred at $00148A20 :
> TOutputFilter.Execute W1
> TOutputFilter.Execute W2
> EAccessViolation : Access violation
>   $00148A20

ok. So, it is somewhere in EndBufferingOutput.
Can you add there some writelns and try again?

>[...]


Mattias

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Access inherited^2

2008-08-04 Thread Joao Morais

Johann Glaser wrote:

How can I access an inherited inherited method which was overloaded?


You can't, one of them will need to have a different name.

Joao Morais
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re[4]: [fpc-pascal] Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC

2008-08-04 Thread Roland Turcan
Hello Mattias,

I have also uncommented some DebugLns which are inside of code:

Compiling ./unit/ResConf.pas
Assembling resconf
An unhandled exception occurred at $00148A20 :
TOutputFilter.Execute After Loop
TOutputFilter.Execute fProcess.ExitStatus=217

Breakpoint 1, 0x000173e0 in fpc_raiseexception ()
(gdb) bt
#0  0x000173e0 in fpc_raiseexception ()
#1  0x0010d33c in TOUTPUTFILTER__EXECUTE (THEPROCESS=0x2788a20, 
ACALLER=0x25e9d40, ATOOL=0x2c35340, this=0x27882a0)
#2  0x003b7bbc in TEXTERNALTOOLLIST__RUN (EXTTOOL=0x2c35340, MACROS=0x29780c0, 
THEOUTPUTFILTER=0x27882a0, COMPILEROPTIONS=0x297ce90, this=0x25e9d40) at 
exttooldialog.pas:370
#3  0x0017e458 in TBUILDMANAGER__ONRUNCOMPILERWITHOPTIONS (EXTTOOL=0x2c35340, 
COMPOPTIONS=0x297ce90, this=0x25d8860) at buildmanager.pas:1222
#4  0x0016d804 in TLAZPACKAGEGRAPH__COMPILEPACKAGE (APACKAGE=0x29ccb80, 
FLAGS=Invalid C/C++ type code 10 in symbol table.
) at packagesystem.pas:2947
#5  0x0016ce00 in TLAZPACKAGEGRAPH__COMPILEREQUIREDPACKAGES (APACKAGE=0x0, 
FIRSTDEPENDENCY=0x29db0a0, GLOBALS=0x25e66d0, POLICIES=Invalid C/C++ type code 
10 in symbol table.
) at packagesystem.pas:2778
#6  0x32fc in TLAZBUILDAPPLICATION__COMPILEAUTOINSTALLPACKAGES 
(this=0x27b8090) at lazbuild.lpr:502
#7  0x2fb8 in TLAZBUILDAPPLICATION__BUILDLAZARUSIDE (this=0x27b8090) at 
lazbuild.lpr:445
#8  0x5b4c in TLAZBUILDAPPLICATION__RUN (this=0x27b8090) at lazbuild.lpr:978
#9  0x7298 in PASCALMAIN () at lazbuild.lpr:1167
#10 0x00029cd0 in SYSTEM_FPC_SYSTEMMAIN$LONGINT$PPCHAR$PPCHAR ()
#11 0x1a4c in _start ()
#12 0x1750 in start ()
(gdb) c
Continuing.
TOutputFilter.Execute W1
TOutputFilter.Execute W2
EAccessViolation : Access violation
  $00148A20
  $001479C4
  $0014C8FC
  $0014B04C
  $001245B0
  $0014FE68
  $00150368
  $0013320C
  $0012B970
  $00109034
  $0011D3B4
  $0012AADC
  $0012ADF0
  $0012BB78
TOutputFilter.Execute W3
TOutputFilter.Execute W4
TOutputFilter.Execute W5
TOutputFilter.Execute W6
TOutputFilter.Execute W7
TExternalToolList.Run Exception: there was an error
ERROR: tool reported error

Program exited with code 02.


<<< 4.8.2008 12:03 - Roland Turcan "[EMAIL PROTECTED]" >>>
RT> Hello Mattias,

RT> I have forgotten to send also result of building under gdb. Here is:

RT> Compiling ./unit/ResConf.pas
RT> Assembling resconf
RT> An unhandled exception occurred at $00148A20 :

RT> Breakpoint 1, 0x00017500 in fpc_raiseexception ()
RT> (gdb) bt
RT> #0  0x00017500 in fpc_raiseexception ()
RT> #1  0x0010d334 in TOUTPUTFILTER__EXECUTE (THEPROCESS=0x2788a20,
RT> ACALLER=0x25e9d40, ATOOL=0x2997200, this=0x27882a0)
RT> #2  0x003b7bbc in TEXTERNALTOOLLIST__RUN (EXTTOOL=0x2997200,
RT> MACROS=0x29780c0, THEOUTPUTFILTER=0x27882a0,
RT> COMPILEROPTIONS=0x297ce90, this=0x25e9d40) at exttooldialog.pas:370
RT> #3  0x0017e458 in TBUILDMANAGER__ONRUNCOMPILERWITHOPTIONS
RT> (EXTTOOL=0x2997200, COMPOPTIONS=0x297ce90, this=0x25d8860) at 
buildmanager.pas:1222
RT> #4  0x0016d804 in TLAZPACKAGEGRAPH__COMPILEPACKAGE
RT> (APACKAGE=0x29ccb80, FLAGS=Invalid C/C++ type code 10 in symbol table.
RT> ) at packagesystem.pas:2947
RT> #5  0x0016ce00 in TLAZPACKAGEGRAPH__COMPILEREQUIREDPACKAGES
RT> (APACKAGE=0x0, FIRSTDEPENDENCY=0x29db0a0, GLOBALS=0x25e66d0,
RT> POLICIES=Invalid C/C++ type code 10 in symbol table.
RT> ) at packagesystem.pas:2778
RT> #6  0x341c in
RT> TLAZBUILDAPPLICATION__COMPILEAUTOINSTALLPACKAGES (this=0x27b8090) at 
lazbuild.lpr:502
RT> #7  0x30d8 in TLAZBUILDAPPLICATION__BUILDLAZARUSIDE
RT> (this=0x27b8090) at lazbuild.lpr:445
RT> #8  0x5c6c in TLAZBUILDAPPLICATION__RUN (this=0x27b8090) at 
lazbuild.lpr:978
RT> #9  0x73b8 in PASCALMAIN () at lazbuild.lpr:1167
RT> #10 0x00029df0 in SYSTEM_FPC_SYSTEMMAIN$LONGINT$PPCHAR$PPCHAR ()
RT> #11 0x1b6c in _start ()
RT> #12 0x1870 in start ()
RT> (gdb) c
RT> Continuing.
RT> TOutputFilter.Execute W1
RT> TOutputFilter.Execute W2
RT> EAccessViolation : Access violation
RT>   $00148A20
RT>   $001479C4
RT>   $0014C8FC
RT>   $0014B04C
RT>   $001245B0
RT>   $0014FE68
RT>   $00150368
RT>   $0013320C
RT>   $0012B970
RT>   $00109034
RT>   $0011D3B4
RT>   $0012AADC
RT>   $0012ADF0
RT>   $0012BB78
RT> TOutputFilter.Execute W3
RT> TOutputFilter.Execute W4
RT> TOutputFilter.Execute W5
RT> TOutputFilter.Execute W6
RT> TOutputFilter.Execute W7
RT> TExternalToolList.Run Exception: there was an error
RT> ERROR: tool reported error


RT> TRoland;

RT> <<< 4.8.2008 11:56 - Roland Turcan "[EMAIL PROTECTED]" >>>
RT>> Hello Mattias,

MG>>> /usr/local/share/lazarus/lazbuild --build-ide="-va -dVerboseOFExecute"

RT>> I have done all things you wrote me, but the result of compilation
RT>> didn't write any line written by WriteLn inside of IFDEFs. Maybe there
RT>> could be a bug during parsing of -d parameter and IFDEF sections were
RT>> not compiled into the code. Therefore I have commented IFDEFs out to
RT>> get them into lazbuild and the result is the following:

RT>> Compiling ./unit/ResConf.pas
RT>> Assembling resconf
RT>> An unh

Re[3]: [fpc-pascal] Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC

2008-08-04 Thread Roland Turcan
Hello Mattias,

I have forgotten to send also result of building under gdb. Here is:

Compiling ./unit/ResConf.pas
Assembling resconf
An unhandled exception occurred at $00148A20 :

Breakpoint 1, 0x00017500 in fpc_raiseexception ()
(gdb) bt
#0  0x00017500 in fpc_raiseexception ()
#1  0x0010d334 in TOUTPUTFILTER__EXECUTE (THEPROCESS=0x2788a20, 
ACALLER=0x25e9d40, ATOOL=0x2997200, this=0x27882a0)
#2  0x003b7bbc in TEXTERNALTOOLLIST__RUN (EXTTOOL=0x2997200, MACROS=0x29780c0, 
THEOUTPUTFILTER=0x27882a0, COMPILEROPTIONS=0x297ce90, this=0x25e9d40) at 
exttooldialog.pas:370
#3  0x0017e458 in TBUILDMANAGER__ONRUNCOMPILERWITHOPTIONS (EXTTOOL=0x2997200, 
COMPOPTIONS=0x297ce90, this=0x25d8860) at buildmanager.pas:1222
#4  0x0016d804 in TLAZPACKAGEGRAPH__COMPILEPACKAGE (APACKAGE=0x29ccb80, 
FLAGS=Invalid C/C++ type code 10 in symbol table.
) at packagesystem.pas:2947
#5  0x0016ce00 in TLAZPACKAGEGRAPH__COMPILEREQUIREDPACKAGES (APACKAGE=0x0, 
FIRSTDEPENDENCY=0x29db0a0, GLOBALS=0x25e66d0, POLICIES=Invalid C/C++ type code 
10 in symbol table.
) at packagesystem.pas:2778
#6  0x341c in TLAZBUILDAPPLICATION__COMPILEAUTOINSTALLPACKAGES 
(this=0x27b8090) at lazbuild.lpr:502
#7  0x30d8 in TLAZBUILDAPPLICATION__BUILDLAZARUSIDE (this=0x27b8090) at 
lazbuild.lpr:445
#8  0x5c6c in TLAZBUILDAPPLICATION__RUN (this=0x27b8090) at lazbuild.lpr:978
#9  0x73b8 in PASCALMAIN () at lazbuild.lpr:1167
#10 0x00029df0 in SYSTEM_FPC_SYSTEMMAIN$LONGINT$PPCHAR$PPCHAR ()
#11 0x1b6c in _start ()
#12 0x1870 in start ()
(gdb) c
Continuing.
TOutputFilter.Execute W1
TOutputFilter.Execute W2
EAccessViolation : Access violation
  $00148A20
  $001479C4
  $0014C8FC
  $0014B04C
  $001245B0
  $0014FE68
  $00150368
  $0013320C
  $0012B970
  $00109034
  $0011D3B4
  $0012AADC
  $0012ADF0
  $0012BB78
TOutputFilter.Execute W3
TOutputFilter.Execute W4
TOutputFilter.Execute W5
TOutputFilter.Execute W6
TOutputFilter.Execute W7
TExternalToolList.Run Exception: there was an error
ERROR: tool reported error


TRoland;

<<< 4.8.2008 11:56 - Roland Turcan "[EMAIL PROTECTED]" >>>
RT> Hello Mattias,

MG>> /usr/local/share/lazarus/lazbuild --build-ide="-va -dVerboseOFExecute"

RT> I have done all things you wrote me, but the result of compilation
RT> didn't write any line written by WriteLn inside of IFDEFs. Maybe there
RT> could be a bug during parsing of -d parameter and IFDEF sections were
RT> not compiled into the code. Therefore I have commented IFDEFs out to
RT> get them into lazbuild and the result is the following:

RT> Compiling ./unit/ResConf.pas
RT> Assembling resconf
RT> An unhandled exception occurred at $00148A20 :
RT> TOutputFilter.Execute W1
RT> TOutputFilter.Execute W2
RT> EAccessViolation : Access violation
RT>   $00148A20
RT>   $001479C4
RT>   $0014C8FC
RT>   $0014B04C
RT>   $001245B0
RT>   $0014FE68
RT>   $00150368
RT>   $0013320C
RT>   $0012B970
RT>   $00109034
RT>   $0011D3B4
RT>   $0012AADC
RT>   $0012ADF0
RT>   $0012BB78
RT>   $00Fatal: Compilation aborted
RT> 109034
RT>   $0011D3B4
RT>   $0012AADC

RT> TOutputFilter.Execute W3
RT> TOutputFilter.Execute W4
RT> TOutputFilter.Execute W5
RT> TOutputFilter.Execute W6
RT> TOutputFilter.Execute W7
RT> TExternalToolList.Run Exception: there was an error
RT> ERROR: tool reported error

RT> TRoland;


RT> <<< 25.7.2008 0:45 - Mattias Gaertner "[EMAIL PROTECTED]" >>>
MG>> On Thu, 24 Jul 2008 23:58:45 +0200
MG>> Roland Turcan <[EMAIL PROTECTED]> wrote:

>>> Hello Mattias,
>>> 
>>> MG> I think the AV happens somewhere in the finally part of
>>> MG> ide/outputfilter.pas 375.
>>> MG> I added some verbosity in rev 15849.
>>> MG> Please update lazarus svn and compile IDE and lazbuild clean with
>>> MG> -dVerboseOFExecute.
>>> MG> Then try again.
>>> 
>>> I have tried this:
>>> 
>>> (gdb) run
>>> Starting program: /usr/local/share/lazarus/lazbuild
>>> --build-ide=-dVerboseOFExecute

MG>> Sorry. A misunderstanding.
MG>> You need to update lazarus svn and rebuild lazbuild itself, before
MG>> trying to use lazbuild to build your package. Which means: 

MG>> cd /usr/local/share/lazarus
MG>> svn up
MG>> make clean all lazbuilder
MG>> ./lazbuild --build-ide=-va > all_output.txt

MG>>  
>>> and also this
>>> 
>>> (gdb) run
>>> Starting program: /usr/local/share/lazarus/lazbuild
>>> --build-ide=-va-dVerboseOFExecute

MG>> Note: Multiple parameters must be separated by space:

MG>> /usr/local/share/lazarus/lazbuild --build-ide="-va -dVerboseOFExecute"

MG>>  
>>>[...]

MG>> Mattias








-- 
Best regards, TRoland
http://www.rotursoft.sk
http://exekutor.rotursoft.sk

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re[2]: [fpc-pascal] Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC

2008-08-04 Thread Roland Turcan
Hello Mattias,

MG> /usr/local/share/lazarus/lazbuild --build-ide="-va -dVerboseOFExecute"

I have done all things you wrote me, but the result of compilation
didn't write any line written by WriteLn inside of IFDEFs. Maybe there
could be a bug during parsing of -d parameter and IFDEF sections were
not compiled into the code. Therefore I have commented IFDEFs out to
get them into lazbuild and the result is the following:

Compiling ./unit/ResConf.pas
Assembling resconf
An unhandled exception occurred at $00148A20 :
TOutputFilter.Execute W1
TOutputFilter.Execute W2
EAccessViolation : Access violation
  $00148A20
  $001479C4
  $0014C8FC
  $0014B04C
  $001245B0
  $0014FE68
  $00150368
  $0013320C
  $0012B970
  $00109034
  $0011D3B4
  $0012AADC
  $0012ADF0
  $0012BB78
  $00Fatal: Compilation aborted
109034
  $0011D3B4
  $0012AADC

TOutputFilter.Execute W3
TOutputFilter.Execute W4
TOutputFilter.Execute W5
TOutputFilter.Execute W6
TOutputFilter.Execute W7
TExternalToolList.Run Exception: there was an error
ERROR: tool reported error

TRoland;


<<< 25.7.2008 0:45 - Mattias Gaertner "[EMAIL PROTECTED]" >>>
MG> On Thu, 24 Jul 2008 23:58:45 +0200
MG> Roland Turcan <[EMAIL PROTECTED]> wrote:

>> Hello Mattias,
>> 
>> MG> I think the AV happens somewhere in the finally part of
>> MG> ide/outputfilter.pas 375.
>> MG> I added some verbosity in rev 15849.
>> MG> Please update lazarus svn and compile IDE and lazbuild clean with
>> MG> -dVerboseOFExecute.
>> MG> Then try again.
>> 
>> I have tried this:
>> 
>> (gdb) run
>> Starting program: /usr/local/share/lazarus/lazbuild
>> --build-ide=-dVerboseOFExecute

MG> Sorry. A misunderstanding.
MG> You need to update lazarus svn and rebuild lazbuild itself, before
MG> trying to use lazbuild to build your package. Which means: 

MG> cd /usr/local/share/lazarus
MG> svn up
MG> make clean all lazbuilder
MG> ./lazbuild --build-ide=-va > all_output.txt

MG>  
>> and also this
>> 
>> (gdb) run
>> Starting program: /usr/local/share/lazarus/lazbuild
>> --build-ide=-va-dVerboseOFExecute

MG> Note: Multiple parameters must be separated by space:

MG> /usr/local/share/lazarus/lazbuild --build-ide="-va -dVerboseOFExecute"

MG>  
>>[...]

MG> Mattias




-- 
Best regards, TRoland
http://www.rotursoft.sk
http://exekutor.rotursoft.sk

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal