[fpc-pascal] Compiling error 1.9.6 not in 1.0.10
jordi
jordiv at catalonia.net
Mon Jan 17 11:38:44 CET 2005
Hi, I get the next error when compiling synsock.pas from Ararat synapse
with fpc version 1.9.6 :
synsock.pas(991,59) Fatal: Syntax error, ":" expected but ";" found
"older" versions of fpc (1.0.10) compiled this unit fine. Is there a way
to compile this without changing code?
The wrong line is the last one:
WSAStartup: function(wVersionRequired: Word; var WSData: TWSAData):
Integer
{$IFNDEF FPC}{$IFDEF LINUX}cdecl{$ELSE}stdcall{$ENDIF} = nil;
{$ELSE}= nil;{$IFDEF LINUX}cdecl{$ELSE}stdcall{$ENDIF};{$ENDIF}
--
(Please, if you can answer use the list, otherwise I won't receive it.
Thanks)
Salutacions
Jordi
More information about the fpc-pascal
mailing list