On Mon, 31 Jul 2006 11:45:16 +0200
Mattias Gaertner <[EMAIL PROTECTED]> wrote:
> On Mon, 31 Jul 2006 14:10:04 +0530
> Nataraj S Narayan <[EMAIL PROTECTED]> wrote:
>
> > Hi Mattias
> >
> > That's fixed! Thanx. But my major problem is unsettled.
> > Still getting all the properties vanish at run-time.
>
> It's a known bug in fpc 2.1.1. TWriter does not write some properties.
> No one had yet the time to investigate it further.
I took a look:
rtl/objpas/classes/writer.inc line 596
if IsStoredProp(Instance, PropInfo) then
IsStoredProp returns false for all properties without 'stored' procedure. To be
more exact:
If ((PropInfo^.PropProcs shr 4) and 3) = ptconst then IsStoredProp always
returns false. So PropInfo^.StoredProc is set always to false.
The function is the same as for fpc 2.0.x, so I guess, the compiler does not
set the RTTI correct any more.
Hopefully this helps the compiler people to track down the bug.
Mattias
> Use fpc 2.0.2 or 2.0.4.
>
>
> Mattias
>
>
> >
> > Example :- For the following compo, I had set all the properties like
> > Database name and got it displaying data in dbgrid. But after compile it
> > is not showing any of the properties,
> >
> > object SQLQuery1: TSQLQuery
> > left = 168
> > top = 144
> > end
> >
> > Plz help
> >
> > regards
> >
> > Nataraj
> >
> > Mattias Gaertner wrote:
> >
> > >On Mon, 31 Jul 2006 11:32:07 +0530
> > >Nataraj S Narayan <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > >>Hi
> > >>
> > >>Getting the following when given 'make clean all;'.
> > >>
> > >>newfield.pas(101,21) Error: Identifier not found "Min"
> > >>newfield.pas(369) Fatal: There were 1 errors compiling module, stopping
> > >>Fatal: Compilation aborted
> > >>make[1]: *** [allideintf.ppu] Error 1
> > >>make[1]: Leaving directory `/root/lazarus/ideintf'
> > >>make: *** [ideintf] Error 2
> > >>[EMAIL PROTECTED]:~/lazarus#
> > >>
> > >>Plz help. I am in the midst of something serious using lazarus. Dont
> > >>send me back to Delphi.
> > >>
> > >>
> > >
> > >Fixed. Please update svn and compile again.
> > >
> > >Mattias
> > >
> > >_________________________________________________________________
> > > To unsubscribe: mail [EMAIL PROTECTED] with
> > > "unsubscribe" as the Subject
> > > archives at http://www.lazarus.freepascal.org/mailarchives
> > >
> > >
> > >
> > >
> >
>
> _________________________________________________________________
> To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
> archives at http://www.lazarus.freepascal.org/mailarchives
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives