Sign in Join

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

Mailing lists / lazarus / 2003-04

New FPC 1.1 - is it real?

8 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

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

Vasily I. Volchenko
to Vasily I. Volchenko: Seems, it became more stable. Besides, I found some defines NEW1_1 in Lazarus source. But…
Show quoted text 6 lines
Lucky one. With the current 1.1 I get no further than: Compiling grids.pas xmlcfg.pp(35,1) Fatal: Can't find unit XMLCFG. Can you give more details about the gtkwinapi error?

I have downloaded fpc at about 11:20 PM yesterday, then compiled it. Then I had the following problems: utrace - I had to activate NEW1_1 xmlcfg - I had to copy xmlcfg.pp from fpc to lcl directory. grids.pas - I had to comment word Type (some type = {type} another type) twice.
And then... gtkwinapih.inc resulted in a tons of errors about that the methods could not be fount in the accendent (?) class(sorry for my English, it's just ������������ ����� in Russian). Seems like winapi.inc was not included in interfacebase (despine on $i).

Reply by email

Vasily I. Volchenko

Seems, it became more stable. Besides, I found some defines NEW1_1 in Lazarus source. But I still can't build lazarus with it (it stops in gtkwinapi, why?).

Reply by email

Jesus Reyes
to Vasily I. Volchenko: Besides, I have to do it even with older fpc

I just updated fpc 1.1, compile the compiler and compile lazarus with 1.1 (make OPT="-dNEW1_1") for the first time and all seems to work normally. :)

--- "Vasily I. Volchenko" escribi�: >

Show quoted text 12 lines
> > xmlcfg - I had to copy xmlcfg.pp from fpc to lcl directory. > > :( > I feared that you did this. Besides, I have to do it even with older fpc _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

_________________________________________________________ Do You Yahoo!?
La mejor conexi�n a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx

Reply by email

musa
to Mattias Gaertner: On Sat, 12 Apr 2003 12:46:46 +0400 FYI: The fpc team changed the TAssertErrorProc type. :(

i use free pascal 1.06 version in my computer my os is windows xp. I want to convert component to string and string to component but in free pascal its crashed and not properly work.but same code in delphi is run.my code is below can you tell me how can i run it in free pascal also.

var
  bt,comp:TComponent;
begin
  bt:=TComponent.Create(nil);
  bt.name:='gel';
  comp:=TComponent.Create(nil);
  //work properly
  WriteComponentResFile('c:\geldi.txt',bt);
  // i think it cant read and convert it from file
  comp:=ReadComponentResFile('c:\geldi.txt',comp);
  // it should write 'gel' but theres nothing
  writeln(comp.name);
  bt.free;
  comp.free;
end.

__________________________________________________ Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com

Reply by email

Mattias Gaertner
to Vasily I. Volchenko: Seems, it became more stable. Besides, I found some defines NEW1_1 in Lazarus source. But…
Seems, it became more stable. Besides, I found some defines NEW1_1 in Lazarus source. But I still can't build lazarus with it (it stops in gtkwinapi, why?).

Lucky one. With the current 1.1 I get no further than:

Compiling grids.pas
xmlcfg.pp(35,1) Fatal: Can't find unit XMLCFG

Can you give more details about the gtkwinapi error?

Mattias

Reply by email

Mattias Gaertner
to Vasily I. Volchenko: Seems, it became more stable. Besides, I found some defines NEW1_1 in Lazarus source. But…
Show quoted text 11 lines
> Lucky one. With the current 1.1 I get no further than: > > Compiling grids.pas > xmlcfg.pp(35,1) Fatal: Can't find unit XMLCFG. > Can you give more details about the gtkwinapi error? I have downloaded fpc at about 11:20 PM yesterday, then compiled it. Then I had the following problems: utrace - I had to activate NEW1_1

FYI: The fpc team changed the TAssertErrorProc type.

xmlcfg - I had to copy xmlcfg.pp from fpc to lcl directory.

:(
I feared that you did this.

grids.pas - I had to comment word Type (some type = {type} another type) twice.

IMO, it's a bug in the current 1.1 that you can't type TPoint. I added IFDEFs.

And then... gtkwinapih.inc resulted in a tons of errors about that the methods could not be fount in the accendent (?) class(sorry for my English, it's just ������������ ����� in Russian). Seems like winapi.inc was not included in interfacebase (despine on $i).

No. Just add a warning and you will see that it is included. This time the current 1.1 found a bug. HDC was defined twice. I fixed that.

With your xmlcfg workaround lazarus now compiles and run with the current 1.1.

Mattias

Reply by email