Skip to content

Add "#pragma alias" statements for C++ #77

Description

@rlebeau

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.

Metadata

Metadata

Assignees

Labels

Element: Compiler/IDEIssues related to a particular Compiler and/or IDEStatus: Review NeededIssue needs further review to decide next statusType: MaintenanceIssue is proposing maintenance of existing code

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions