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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal