i've updated indy10 installation latest revision (5276) , error when trying compile windows application.
idstackwindows.pas(2364) error: e2029 '..' expected ';' found
the issue seems declaration of ka: tcp_keepalive on line 2364 in tidstackwindows.setkeepalivevalues.
i'm using delphi 2007 on windows 7 professional x64.
after further investigation found there new tcp_keepalive constant being declared in idwinsock2.pas:
{$externalsym tcp_keepalive} tcp_keepalive = 3; this conflicts existing tcp_keepalive record, has been renamed _tcp_keepalive. updating ka variable declared in tidstackwindows.setkeepalivevalues() new typename resolves error.
i found compile issue in idsslopenssl.pas:
[dcc error] idsslopenssl.pas(980): e2065 unsatisfied forward or external declaration: 'indyssl_ctx_use_certificate_chain_file'
this error can resolved adding missing implementation of indyssl_ctx_use_certificate_chain_file() inside {$else} section of {$ifdef string_is_unicode} block starts @ line 1155, , have call openssl's standard ssl_ctx_use_certificate_chain_file() function.
update:
necessary fixes (described above) available in revision 5277 , later.
Comments
Post a Comment