In C++Builder, to avoid various "unresolved external" errors for class methods that have naming conflicts with Win32 API functions (such as TIdTCPClient::SetPort()), Indy should use #pragma alias statements in generated C++ .hpp files when _VCL_ALIAS_RECORDS is defined. The VCL in newer C++Builder versions does exactly this for its own conflicts.
{$HPPEMIT} statements have been added to all components that have a SetPort() method. Need to check if there are other methods affected.
In C++Builder, to avoid various "unresolved external" errors for class methods that have naming conflicts with Win32 API functions (such as
TIdTCPClient::SetPort()), Indy should use#pragma aliasstatements in generated C++.hppfiles when_VCL_ALIAS_RECORDSis defined. The VCL in newer C++Builder versions does exactly this for its own conflicts.{$HPPEMIT}statements have been added to all components that have aSetPort()method. Need to check if there are other methods affected.