We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unlike g++, clang uses the c++ mangling scheme for operators even when extern "C". For example
g++
clang
extern "C"
extern "C" { UDT_C_DEFAULT operator+( UDT_C_DEFAULT const& lhs, UDT_C_DEFAULT const& rhs ){exec_bop( UDT_C_DEFAULT, + ) } }
will become _Zpl when using g++, while clang will generate _ZplRK13UDT_C_DEFAULTS1_ (normal c++ mangling scheme)
_Zpl
_ZplRK13UDT_C_DEFAULTS1_
I don't know how freebasic should handle this inconsistent behavior
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Unlike
g++
,clang
uses the c++ mangling scheme for operators even whenextern "C"
. For examplewill become
_Zpl
when usingg++
, while clang will generate_ZplRK13UDT_C_DEFAULTS1_
(normal c++ mangling scheme)I don't know how freebasic should handle this inconsistent behavior
The text was updated successfully, but these errors were encountered: