[SG10] Adding a macro to identify the ABI
Saleem Abdulrasool
compnerd at compnerd.org
Sat Jan 7 02:45:11 CET 2017
Hi,
I was wondering if it would be possible to add a macro to identify the
underlying ABI that the C++ runtime is using? Although itanium is the more
popular choice, there are alternative ABIs such as the one which Microsoft
uses. I would propose something like the following:
__cpp_abi_itanium
__cpp_abi_microsoft
They would be defined to 1 based on which is being used. This would allow
the implementation to change the behavior based on the ABI being used.
Thanks!
--
Saleem Abdulrasool
compnerd (at) compnerd (dot) org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.open-std.org/pipermail/features/attachments/20170107/e40d6187/attachment.html
More information about the Features
mailing list