Failed to rebuild Lazarus on Windows with GTK2 widgetset
Original Reporter info from Mantis: hadyatmo
-
Reporter name: Hadyatmo Ang
Original Reporter info from Mantis: hadyatmo
- Reporter name: Hadyatmo Ang
Description:
I found the problem when trying to rebuild Lazarus with GTK2 widgetset from revision 20933.
Building process stop with these errors:
C:\Lazarus\lcl\interfaces\gtk\gtkproc.inc(3399,25)
Error: Identifier not found "MKeyStateMap"
C:\Lazarus\lcl\interfaces\gtk\gtkproc.inc(3399,25)
Error: Variable indentifier expected
C:\Lazarus\lcl\interfaces\gtk\gtkproc.inc(3473,26)
Error: Identifier not found "VK_ALT"
C:\Lazarus\lcl\interfaces\gtk\gtkproc.inc(3474,26)
Error: Identifier not found "VK_WIN"
The problem may be related to update in revision 20888, cause no problem found after reverting these four files back to revision 20870
lcl\interfaces\gtk\gtkcallback.inc
lcl\interfaces\gtk\gtkdefines.inc
lcl\interfaces\gtk\gtkproc.inc
lcl\interfaces\gtk\gtkproc.pp
No problem found with the win32 widgetset
Additional information:
I'm testing with FPC 2.2.4 on WinXP SP3.
GTK2 runtime downloaded from http://gtk-win.sourceforge.net
Rebuilding with the same source on linux (ubuntu 8.04) is OK.
So the problem is only on windows platform with gtk2 widgetset
Mantis conversion info:
- Mantis ID: 14187
- Version: 0.9.27 (SVN)
- Fixed in version: 0.9.27 (SVN)
- Fixed in revision: 20934 (#c907579c)
- Target version: 0.9.28