Error while compiling resources - Wrong token symbol

Für Fragen zur Programmiersprache auf welcher Lazarus aufbaut
Antworten
Bergmann89
Beiträge: 98
Registriert: Di 15. Nov 2011, 11:36

Error while compiling resources - Wrong token symbol

Beitrag von Bergmann89 »

Hey Leute,

ich hab heute ein altes Delphi 7 Projekt auf Lazarus umgestellt. Hat soweit alles ganz gut geklappt, nur leider kann ich nicht kompilieren. Er sagt immer "Wrong token symbol: INLINE expected but o found". Ich hab schon gegoogelt und verschiedene Sachen durchprobiert, aber es hat nichts geholfen. Kann mir vlt jmd nen Tipp geben was sich noch versuchen könnte?

€: es hat wahrscheinlich was mit meinen Forms zu tun, denn ich kann die auch nicht im Designer öffnen. Ähnliche Fehlermeldung...

Code: Alles auswählen

Hint: (11030) Start of reading config file {LAZARUS_ROOT}\fpc\3.1.1\bin\x86_64-win64\fpc.cfg
Hint: (11031) End of reading config file {LAZARUS_ROOT}\fpc\3.1.1\bin\x86_64-win64\fpc.cfg
Free Pascal Compiler version 3.1.1 [2016/06/10] for x86_64
Copyright (c) 1993-2016 by Florian Klaempfl and others
(1002) Target OS: Win64 for x64
(3104) Compiling TotoStar.lpr
(3104) Compiling .\forms\uMainForm.pas
(3104) Compiling .\src\uUtils.pas
.\src\uUtils.pas(562,29) Hint: (5057) Local variable "SysInfo" does not seem to be initialized
.\src\uUtils.pas(700,23) Hint: (5057) Local variable "len" does not seem to be initialized
.\src\uUtils.pas(721,26) Hint: (5060) Function result variable does not seem to be initialized
.\src\uUtils.pas(739,26) Hint: (5060) Function result variable does not seem to be initialized
(3104) Compiling .\src\uTipCalcThread.pas
(3104) Compiling .\src\uFilters.pas
.\src\uFilters.pas(439,21) Hint: (5057) Local variable "b" does not seem to be initialized
(3104) Compiling .\src\uTrees.pas
(3104) Compiling .\src\uHammingDistanceTableCalc.pas
(3104) Compiling .\src\uTipOptimizationThread.pas
(3104) Compiling .\src\uAutoTipPlanGenThread.pas
(3104) Compiling .\src\uRequirements.pas
(3104) Compiling .\src\uAutoTipPlanGenThread.pas
(3104) Compiling .\src\uExcelFile.pas
(3104) Compiling .\forms\uMainForm.pas
(3104) Compiling .\src\uGuarantyTableThread.pas
(3104) Compiling .\forms\uMiniViewForm.pas
(3104) Compiling .\forms\uTipFilterForm.pas
(3104) Compiling .\forms\uPercentFilterForm.pas
(3104) Compiling .\forms\uStepsForm.pas
(3104) Compiling .\forms\uShowTipsForm.pas
(3104) Compiling .\forms\uSequenceFilterForm.pas
(3104) Compiling .\forms\uQuotaFilterForm.pas
(3104) Compiling .\forms\uFilterBatchProcessingForm.pas
(3104) Compiling .\forms\uNewTipPlanForm.pas
(3104) Compiling .\forms\uProfitDiscoveryForm.pas
(3104) Compiling .\forms\uFilterCheckForm.pas
(3104) Compiling .\forms\uRestChanceForm.pas
(3104) Compiling .\forms\uSingleFilterAnalysisForm.pas
(3104) Compiling .\forms\uTipImportExportForm.pas
(3104) Compiling .\forms\uGuarantyTableForm.pas
(3104) Compiling .\forms\uMultiProfitAnalyseForm.pas
(3104) Compiling .\forms\uMethod4StepForm.pas
(3104) Compiling .\forms\uAutoTipPlanGenForm.pas
(3104) Compiling .\forms\uTipCharCountSpecReqForm.pas
(3104) Compiling .\forms\uShowTipPlanForm.pas
(3104) Compiling .\forms\uBankCountSpecReqForm.pas
(3104) Compiling .\forms\uTipCharBankCountSpecReqForm.pas
(3104) Compiling .\forms\uGameResultsSpecReqForm.pas
(9022) Compiling resource .\lib\x86_64-win64\TotoStar.obj
Error: Wrong token symbol: INLINE expected but o found (at 1220,4, stream offset 00007222)
.\TotoStar.lpr(49,1) Error: (9029) Error while compiling resources
(9015) Linking TotoStar.exe
.\TotoStar.lpr(49,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: {LAZARUS_ROOT}\fpc\3.1.1\bin\x86_64-win64\ppcx64.exe returned an error exitcode

Antworten