Recent

Author Topic: I can't start lazarus trunk  (Read 3033 times)

zoltanleo

  • Hero Member
  • *****
  • Posts: 509
I can't start lazarus trunk
« on: August 02, 2018, 12:32:38 am »
Hi friends.

Now I successfully use fpc r39452 + lazarus r58520 for Win7 Ultim x64

I periodically check what new is in the last audits of fpc and lazarus. Changes of fpc are so considerable that the last trunk of fpc r39542 + lazarus r58520 causes a compilation error:
Code: Pascal  [Select][+][-]
  1. win32winapi.inc(1314,51) Error: Incompatible type for arg no. 3:
  2. Got "<procedure variable type of function(var ENUMLOGFONTEXA;var NEWTEXTMETRICEXA;LongInt;LongInt):LongInt;StdCall>",
  3. expected "<procedure variable type of function(var ENUMLOGFONTEXW;var NEWTEXTMETRICEXW;LongInt;LongInt):LongInt;StdCall>"

The last trunk of lazarus r58660 at start gives the message
Code: Pascal  [Select][+][-]
  1. TProcessUTF8.SetProcessHandle failed.
  2.  
  3. Press OK to ignore and risk data corruption.
  4. Press Abort to kill the program.
  5.  
then the program is crashing

It is possible to hope that it will be corrected soon?
Win10 LTSC x64/Deb 12 amd64(gtk2)/Kubuntu(qt5)/Darwin Cocoa x86_64 (Sequoia):
Lazarus x32_64 (trunk); FPC(trunk), FireBird 3.0.11; IBX by TonyW

Sorry for my bad English, I'm using translator ;)

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: I can't start lazarus trunk
« Reply #1 on: August 02, 2018, 06:32:45 am »
Hi friends.

Now I successfully use fpc r39452 + lazarus r58520 for Win7 Ultim x64

I periodically check what new is in the last audits of fpc and lazarus. Changes of fpc are so considerable that the last trunk of fpc r39542 + lazarus r58520 causes a compilation error:
Code: Pascal  [Select][+][-]
  1. win32winapi.inc(1314,51) Error: Incompatible type for arg no. 3:
  2. Got "<procedure variable type of function(var ENUMLOGFONTEXA;var NEWTEXTMETRICEXA;LongInt;LongInt):LongInt;StdCall>",
  3. expected "<procedure variable type of function(var ENUMLOGFONTEXW;var NEWTEXTMETRICEXW;LongInt;LongInt):LongInt;StdCall>"

This is fixed in lazarus r58639.

The last trunk of lazarus r58660 at start gives the message
Code: Pascal  [Select][+][-]
  1. TProcessUTF8.SetProcessHandle failed.
  2.  
  3. Press OK to ignore and risk data corruption.
  4. Press Abort to kill the program.
  5.  
then the program is crashing

It is possible to hope that it will be corrected soon?

It's done already but not commiited so far. There is a patch within bugreport https://bugs.freepascal.org/view.php?id=34048.
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

zoltanleo

  • Hero Member
  • *****
  • Posts: 509
Re: I can't start lazarus trunk
« Reply #2 on: August 02, 2018, 08:27:41 am »
I am very grateful for the answer. I will wait so far will make correction to a trunk.  ;)
Win10 LTSC x64/Deb 12 amd64(gtk2)/Kubuntu(qt5)/Darwin Cocoa x86_64 (Sequoia):
Lazarus x32_64 (trunk); FPC(trunk), FireBird 3.0.11; IBX by TonyW

Sorry for my bad English, I'm using translator ;)

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4650
  • I like bugs.
Re: I can't start lazarus trunk
« Reply #3 on: August 02, 2018, 11:17:53 am »
It's done already but not commiited so far. There is a patch within bugreport https://bugs.freepascal.org/view.php?id=34048.
Committed in r58663.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

zoltanleo

  • Hero Member
  • *****
  • Posts: 509
Re: I can't start lazarus trunk
« Reply #4 on: August 02, 2018, 03:05:54 pm »
I have compiled r58665 - it's OK. Thx!
Win10 LTSC x64/Deb 12 amd64(gtk2)/Kubuntu(qt5)/Darwin Cocoa x86_64 (Sequoia):
Lazarus x32_64 (trunk); FPC(trunk), FireBird 3.0.11; IBX by TonyW

Sorry for my bad English, I'm using translator ;)

 

TinyPortal © 2005-2018