Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2002-05

Compile error control.inc (ssQuad / ssTriple)

6 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Weustink
to Stefan. Hille: Hi Don't think we should do this until there are must-have features missing. IMHO this…

+ From:
+ Behalf Of Stefan. Hille
+ Sent: dinsdag 21 mei 2002 1:33
+
+ Hi
+
+ On Mon, May 20, 2002 at 11:53:54AM +0200, Mattias Gaertner wrote:
+ > On Mon, 20 May 2002 11:36:48 +0200 Mattias Gaertner
+ > wrote:
+ >
+ > I just checked. You are right. They are all beta and all of them do not
+ > contain the patch. Mysterious. I have readded compiler directives. This
+ > time for 1.0.7.
+ > Probably we must once again start building our own compiler. +
+ Don't think we should do this until there are must-have features missing.
+ IMHO this one is only a nice-to-have feature and the ifdef solution should
+ be ok as long as we're far away from 1.0. Building our own compiler
+ would require resources (build, maintain, *document*) we can better spend
+ on our own code.

Building our own here is nothing more that use a stable FPC compiler and add the patches which are not in it. Like the patches Mattias is missing, I've the idea that the fix for #1888 isn't included as well. That one is a really pain if you've to work around it.
Something about #1888
Symptoms are compile and everything seems to work OK, change just a bit so some unit gets recompiled or things are linked differently -> Form streaming produces an AV, change something else and it works probably. One can work around this by publishing most used properties (left, top, height, width, caption etc) again in a derived form class.

If in the final FPC 1.0.6 those patches are missing, then I vote for using a stable 1.0.7

Marc

Reply by email

Stefan. Hille

Hi Mattias,

seems you've updated control.inc a few minutes/hours ago. I get compiler errors now. EG:

  control.inc(812,33) Error: Identifier not found SSTRIPLE

Where is this constant defined? Does it belong to the runtime libs? I'm using

Free Pascal Compiler version 1.0.6-beta [2002/04/30] for i386

Don't know why it's called beta because I downloaded after their official release.

bye,

Stefan

--------------------------------------------------------- Stefan Hille email: 48155 Muenster voice: 0251/664695

Reply by email

Stefan. Hille
to Stefan. Hille: Hi Don't think we should do this until there are must-have features missing. IMHO this…

Hi

Marc Weustink wrote 7 lines
+ From: + Behalf Of Stefan. Hille + Sent: dinsdag 21 mei 2002 1:33 + [.. own compiler pro's & con's...] If in the final FPC 1.0.6 those patches are missing, then I vote for using a stable 1.0.7

If bug #1888 is still in 1.0.6 I also vote for using another compiler cause it's a bug which makes reliable development more or less impossible.

bye

--------------------------------------------------------- Stefan Hille email: 48155 Muenster voice: 0251/664695

Reply by email

Mattias Gaertner
to Stefan. Hille: seems you've updated control.inc a few minutes/hours ago. I get compiler errors now. EG:…
Show quoted text 8 lines
Hi Mattias, seems you've updated control.inc a few minutes/hours ago. I get compiler errors now. EG: control.inc(812,33) Error: Identifier not found SSTRIPLE Where is this constant defined? Does it belong to the runtime libs?

It is defined in fpc/fcl/inc/classesh.inc since the fpc 1.0.6 (03/28). Therefore there were some compiler directives {$IFDEF VER1_0_6}. I deleted them, because laz now officially depends on 1.0.6. So, I'm somewhat confused that you were able to compile laz before.

Show quoted text 6 lines
I'm using Free Pascal Compiler version 1.0.6-beta [2002/04/30] for i386 Don't know why it's called beta because I downloaded after their official release.

Try another mirror.

Mattias

Reply by email

Mattias Gaertner
to Stefan. Hille: seems you've updated control.inc a few minutes/hours ago. I get compiler errors now. EG:…
Show quoted text 22 lines
On Mon, 20 May 2002 12:06:08 +0200 "Stefan. Hille" wrote: > Hi Mattias, > > seems you've updated control.inc a few minutes/hours ago. I get compiler > errors now. EG: > > control.inc(812,33) Error: Identifier not found SSTRIPLE > > Where is this constant defined? Does it belong to the runtime libs? It is defined in fpc/fcl/inc/classesh.inc since the fpc 1.0.6 (03/28). Therefore there were some compiler directives {$IFDEF VER1_0_6}. I deleted them, because laz now officially depends on 1.0.6. So, I'm somewhat confused that you were able to compile laz before. > I'm using > > Free Pascal Compiler version 1.0.6-beta [2002/04/30] for i386 > > Don't know why it's called beta because I downloaded after their official > release.

I just checked. You are right. They are all beta and all of them do not contain the patch. Mysterious. I have readded compiler directives. This time for 1.0.7. Probably we must once again start building our own compiler.

Mattias

Reply by email

Stefan. Hille
to Stefan. Hille: seems you've updated control.inc a few minutes/hours ago. I get compiler errors now. EG:…

Hi

Mattias Gaertner wrote 8 lines
On Mon, 20 May 2002 11:36:48 +0200 Mattias Gaertner wrote: I just checked. You are right. They are all beta and all of them do not contain the patch. Mysterious. I have readded compiler directives. This time for 1.0.7. Probably we must once again start building our own compiler.

Don't think we should do this until there are must-have features missing. IMHO this one is only a nice-to-have feature and the ifdef solution should be ok as long as we're far away from 1.0. Building our own compiler would require resources (build, maintain, *document*) we can better spend on our own code.

BTW: For those not so familar with cvs:

When I hit the compile error I still wanted to test some things. To make lazarus compile again I checked out the latest working version of control.inc (version 1.49 in this case). This could easily be done by issuing

cvs update -r 1.49 control.inc

in the lcl/include directory. control.inc was now "sticky" and excluded from any furher update. When I saw Mattias mail about the workaround I removed the sticky-flag with

cvs update -A control.inc

bye,

Stefan

--------------------------------------------------------- Stefan Hille email: 48155 Muenster voice: 0251/664695

Reply by email