Вверх ↑
Ответов: 970
Рейтинг: 270
#1: 2010-05-27 21:49:10 ЛС | профиль | цитата
У меня на FPC компилируется, но с ошибками в отладке (если заменить на обычный таймер)

Отладка
Error[0]:
Подготовка к сборке проекта...
Генерация кода целевого языка
Компоновка проекта...
Command line: fpc.exe '"C:\Program Files\HiAsm\Elements\delphi\code\Project10.pas"' -Sd -Mdelphi '"-FEC:\Program Files\HiAsm\"' '"-FUC:\Program Files\HiAsm\Elements\delphi\code\units"' -FDtools\ -CX -dF_P
Free Pascal Compiler version 1.9.6 [2004/12/31] for i386
Copyright (c) 1993-2004 by Florian Klaempfl
Target OS: Win32 for i386
Compiling C:\Program Files\HiAsm\Elements\delphi\code\Project10.pas
Compiling C:\Program Files\HiAsm\Elements\delphi\code\hiMainForm_214EED0.pas
Compiling WINDOWS.pas
WINDOWS.pas(1821,4) Warning: Illegal compiler directive "$NODEFINE"
WINDOWS.pas(1823,5) Warning: Illegal compiler directive "$HPPEMIT"
Compiling C:\Program Files\HiAsm\Elements\delphi\code\hiMainForm.pas
Compiling kol.pas
Compiling MESSAGES.pas
Compiling RichEdit.pas
kol.pas(5566,69) Warning: range check error while evaluating constants
kol.pas(5570,76) Warning: range check error while evaluating constants
kol.pas(6743,56) Warning: range check error while evaluating constants
kol.pas(6897,56) Warning: range check error while evaluating constants
kol.pas(10706,30) Warning: range check error while evaluating constants
Compiling SHELLAPI.pas
Compiling COMMDLG.pas
Compiling SHLOBJ.pas
kol.pas(19692,10) Warning: Function result does not seem to be set
kol.pas(23414,3) Warning: Some fields coming after "fCustom" weren't initialized
kol.pas(23424,3) Warning: Some fields coming after "fCustom" weren't initialized
kol.pas(41643,60) Warning: Mixing signed expressions and longwords gives a 64bit result
kol.pas(41646,60) Warning: Mixing signed expressions and longwords gives a 64bit result
kol.pas(50737,63) Warning: Mixing signed expressions and longwords gives a 64bit result
kol.pas(53410,28) Warning: Mixing signed expressions and longwords gives a 64bit result
kol.pas(53409,44) Warning: Conversion between ordinals and pointers is not portable
kol.pas(54982,63) Warning: Mixing signed expressions and longwords gives a 64bit result
kol.pas(55617,9) Note: Local variable "ClientAfter" is assigned but never used
kol.pas(61381,16) Warning: Class types "TAction" and "TObj" are not related
kol.pas(61568,22) Warning: Class types "TActionList" and "TObj" are not related
Compiling C:\Program Files\HiAsm\Elements\delphi\code\Share.pas
Compiling winsock.pas
winsock.pas(13,2) Warning: Illegal compiler directive "$WEAKPACKAGEUNIT"
winsock.pas(44,3) Warning: Illegal compiler directive "$HPPEMIT"
winsock.pas(51,4) Warning: Illegal compiler directive "$NODEFINE"
Compiling C:\Program Files\HiAsm\Elements\delphi\code\Debug.pas
Share.pas(2108,13) Warning: use extended syntax of NEW and DISPOSE for instances of objects
Compiling C:\Program Files\HiAsm\Elements\delphi\code\Win.pas
Compiling C:\Program Files\HiAsm\Elements\delphi\code\hiHintManager.pas
Compiling C:\Program Files\HiAsm\Elements\delphi\code\WinLayout.pas
Compiling C:\Program Files\HiAsm\Elements\delphi\code\hiLayoutSpacer.pas
Compiling C:\Program Files\HiAsm\Elements\delphi\code\hiTransparentManager.pas
Compiling C:\Program Files\HiAsm\Elements\delphi\code\hiMainForm.pas
Compiling C:\Program Files\HiAsm\Elements\delphi\code\hiRGN_OutlinePicture.pas
hiTransparentManager.pas(156,3) Note: Local variable "form" is assigned but never used
hiTransparentManager.pas(205,3) Note: Local variable "form" is assigned but never used
Compiling C:\Program Files\HiAsm\Elements\delphi\code\hiButton.pas
Compiling C:\Program Files\HiAsm\Elements\delphi\code\hiSwitch.pas
Compiling C:\Program Files\HiAsm\Elements\delphi\code\hiHub.pas
Compiling C:\Program Files\HiAsm\Elements\delphi\code\hiSizeWindow.pas
Compiling C:\Program Files\HiAsm\Elements\delphi\code\hiMath.pas
Compiling C:\Program Files\HiAsm\Elements\delphi\code\hiMathParse.pas
hiMathParse.pas(623,9) Warning: "fdivp" without operand translated into "fdivp %st,%st(1)"
hiMathParse.pas(644,9) Warning: fdivrp without operand translated into fdivrpP
hiMathParse.pas(644,9) Warning: "fdivrp" without operand translated into "fdivrp %st,%st(1)"
Compiling C:\Program Files\HiAsm\Elements\delphi\code\hiCounter.pas
Compiling C:\Program Files\HiAsm\Elements\delphi\code\hiIndexToChanel.pas
Compiling C:\Program Files\HiAsm\Elements\delphi\code\hiMemory.pas
Compiling C:\Program Files\HiAsm\Elements\delphi\code\hiTimer.pas
Compiling resource C:\Program Files\HiAsm\Elements\delphi\code\allres.res
Linking C:\Program Files\HiAsm\Project10.exe
Project10.pas(19,1) Fatal: Can't open executable C:\Program Files\HiAsm\Project10.exe
Error: C:\Program Files\HiAsm\compiler\fpc\ppc386.exe returned an error exitcode (normal if you did not specifiy a source file to be compiled)
Сборка завершена.
карма: 0

0