Strange,

I thought I'd fixed this problem a long time ago ??

I'll have another look.

Michael.

On Mon, 7 Dec 2009, Graeme Geldenhuys wrote:

Hi,

Attached is a partial patch for 'utils/debugsvr/debugserverintf.pp'
unit. This unit is cannot be compiled at the moment, but the attached
patch at least removes many of the compiler errors.

There are still 5 remaining compiler errors that I am not sure about
how to fix. Can anybody help with these?

I tried with FPC 2.4.0-rc1 and FPC 2.5.1 and neither version of
debugserverintf.pp seems to compile.


-------------------------------
/opt/fpc_2.3.1/src/utils/debugsvr/debugserverintf.pp(30,13) Hint: Type
"Thandle" redefinition
/opt/fpc_2.3.1/src/utils/debugsvr/debugserverintf.pp(122,3) Warning:
Symbol "Str2UnixSockAddr" is deprecated
/opt/fpc_2.3.1/src/utils/debugsvr/debugserverintf.pp(122,47) Hint:
Local variable "AddrLen" does not seem to be initialized
/opt/fpc_2.3.1/src/utils/debugsvr/debugserverintf.pp(122,39) Hint:
Local variable "FUnixAddr" does not seem to be initialized
/opt/fpc_2.3.1/src/utils/debugsvr/debugserverintf.pp(123,34) Error:
Incompatible type for arg no. 2: Got "TUnixSockAddr", expected
"psockaddr"
/opt/fpc_2.3.1/src/utils/debugsvr/debugserverintf.pp(125,6) Error:
Boolean expression expected, but got "LongInt"
/opt/fpc_2.3.1/src/utils/debugsvr/debugserverintf.pp(175,34) Error:
Incompatible type for arg no. 2: Got "sockaddr_in", expected
"psockaddr"
/opt/fpc_2.3.1/src/utils/debugsvr/debugserverintf.pp(176,48) Warning:
Local variable "FFileName" does not seem to be initialized
/opt/fpc_2.3.1/src/utils/debugsvr/debugserverintf.pp(177,6) Error:
Boolean expression expected, but got "LongInt"
/opt/fpc_2.3.1/src/utils/debugsvr/debugserverintf.pp(244,42) Error:
Incompatible type for arg no. 3: Got "LongInt", expected "pSockLen"
/opt/fpc_2.3.1/src/utils/debugsvr/debugserverintf.pp(344,10) Hint:
Local variable "FDebugMessage" does not seem to be initialized
/opt/fpc_2.3.1/src/utils/debugsvr/debugserverintf.pp(358,32) Hint:
Local variable "msgSize" does not seem to be initialized
/opt/fpc_2.3.1/src/utils/debugsvr/debugserverintf.pp(376,32) Hint:
Local variable "Event" does not seem to be initialized
/opt/fpc_2.3.1/src/utils/debugsvr/debugserverintf.pp(381) Fatal: There
were 5 errors compiling module, stopping

-------------------------------


--
Regards,
 - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to