On Wed, 26 Jul 2006, Graeme Geldenhuys wrote:
> > MyVariable:=MyVariable; // this is a workaround in rare cases.
>
> Can anybody that knowns the internals of FPC confirm if this will
> create extra work/code for the compiler?
It will.
> I have been trying for a
> long time to figure out a c
On Wednesday 26 July 2006 12:49, Graeme Geldenhuys wrote:
> > MyVariable:=MyVariable; // this is a workaround in rare cases.
>
> Can anybody that knowns the internals of FPC confirm if this will
> create extra work/code for the compiler?
It does create an assignment. At least with the fpc2.0.2
MyVariable:=MyVariable; // this is a workaround in rare cases.
Can anybody that knowns the internals of FPC confirm if this will
create extra work/code for the compiler? I have been trying for a
long time to figure out a clean way of getting rid of some compiler
warnings.
Regards,
Graeme.
I just wanted to say I LOVE the fact that the compiler warns you of these
mundane details.
Personally, I don't consider my application at a good stopping point unless
I can make all the warnings go away. Sometimes I even will put in (hopefully
a low overhead thing when I do it) a meaningless com