[lazarus] Problem

Cliff Baeseman Cliff.Baeseman at Greenheck.Com
Wed May 5 12:54:48 EDT 1999


I tried setting S2 and cannot even compile with that switch setting?

Cliff

-----Original Message-----
From: Michael A. Hess [mailto:mhess at miraclec.com]
Sent: Wednesday, May 05, 1999 11:37 AM
To: lazarus at miraclec.com
Subject: Re: [lazarus] Problem


Shane Miller wrote:
> 
> You are correct that if we create a fmEditor value as we were in
> TEditor and assign it to self, then everytime we create another one,
> fmeditor will lose it's prior value and be assigned something new.
> Here's the issue though, if you try to access CAPTION like
> Writeln(Caption) then you get a sigsegv or when you try to access ANY
> value through SELF.
> 
> Perhaps it is an issue with the compiler.  I commented out all the
> fmeditor stuff and now none of it works when I try to use SELF.  It
> simply crashes.....

Ouch! Yeah I would have to say then that this is definitly a compiler
issue.

I see that you guys don't set either {$mode delphi} or {$mode objfpc} in
your code. Are you using -s2 or -sd in your compiler command line?

In my opinion it would be better to set this as a mode switch in the
source so that a user doesn't have to modify their ppc386.cfg. That is
just my opinion.  :-)

Talk at you later,
-- 
==== Programming my first best destiny! ====

Michael A. Hess      Miracle Concepts, Inc.
mhess at miraclec.com   http://www.miraclec.com

_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject






More information about the Lazarus mailing list