Syntax error when compiling in Windows CE

0

Is it possible to do a Browser for windows CE using Lazarus?

I made one with the Gecko component but it did not compile for windows CE, have some configuration to be made or is it not even supported?

The following error occurs:

  

Fatal: Syntax error, "identifier" expected but "CONST" found

Does anyone know how to proceed?

The error is displayed in the C: \ lazarus \ components \ geckoport_v1 \ nsConsts.pas

When compiling for windows 7, it compiles and runs normally, but when I compile for windows CE the error occurs.

In this line the error occurs:

unit nsConsts;

interface

const
{$IFDEF MSWINDOWS}
  XPCOM_DLL = 'xpcom.dll';
  XUL_DLL = 'xul.dll';
{$ENDIF}
{$IFDEF UNIX}
  XPCOM_DLL = 'libxpcom.so';
  XUL_DLL = 'libxul.so';
{$ENDIF}

const
  GRE_MOZILLA_WIN_REG_LOC = 'Software\mozilla.org\GRE\';
  GRE_FIREFOX_BASE_WIN_REG_LOC = 'SOFTWARE\Mozilla\Mozilla Firefox';

  // 1.7 Release
  MOZILLA_VERSION = 1.7;
  GRE_BUILD_ID = '1.7_2004061609';
  NS_BUILD_ID = 2004061609;

  // 1.7.1 Release
  //MOZILLA_VERSION = 1.7;
  //GRE_BUILD_ID = '1.7.1_2004070721';
  //NS_BUILD_ID = 2004070721;

  // 1.7.2 Release
  //MOZILLA_VERSION = 1.7;
  //GRE_BUILD_ID = '1.7.2_2004080302';
  //NS_BUILD_ID = 2004080302;

  // 1.7.3 Release
  //MOZILLA_VERSION = 1.7;
  //GRE_BUILD_ID = '1.7.3_2004091008';
  //NS_BUILD_ID = 2004091008;

  // 1.7.5 Release
  //MOZILLA_VERSION = 1.7;
  //GRE_BUILD_ID = '1.7.5_2004122323';
  //NS_BUILD_ID = 2004122323;

  // 1.7.6 Release
  //MOZILLA_VERSION = 1.7;
  //GRE_BUILD_ID = '1.7.6_2005031907';
  //NS_BUILD_ID = 2005031907;

  // 1.7.7 Release
  //MOZILLA_VERSION = 1.7;
  //GRE_BUILD_ID = '1.7.7_2005041417';
  //NS_BUILD_ID = 2005041417;

implementation

end.
    
asked by anonymous 06.04.2015 / 18:45

0 answers