TurboPack / AsyncPro

Async Professional is a comprehensive communications toolkit for Embarcadero Delphi and C++Builder.
101 stars 51 forks source link

C++Builder Clang compiler does like arg named SType #13

Closed weirdo12 closed 3 years ago

weirdo12 commented 3 years ago

In AwUser.hpp:

int __fastcall AddStatusTrigger(unsigned SType);

In AdPort.hpp:

System::Word __fastcall AddStatusTrigger(const System::Word SType);

weirdo12 commented 3 years ago

From 10.4.2 - commenting out the argument name SType allows the code to compile. I have insert the source from the .hpp's

[C++ Error] AwUser.hpp(264, 42): expected ')' [C++ Error] AwUser.hpp(264, 32): to match this '('

int __fastcall AddStatusTrigger(unsigned SType);

[C++ Error] AdPort.hpp(282, 61): expected ')' [C++ Error] AdPort.hpp(282, 41): to match this '('

System::Word __fastcall AddStatusTrigger(const System::Word SType);