There is no real good way to detect the ABI right now.  The best you can do is have the user specify what ABI they are trying to use.  However, ABI mismatches would result in a terrible experience as the runtime would not be able to cope with the mismatch.

On Sat, Jan 7, 2017 at 6:48 AM, Jens Maurer <> wrote:
On 01/07/2017 04:54 AM, Richard Smith wrote:
> I think it makes sense to have semi-standard macros for this, and while these aren't standard features I think SD-6 could be an OK home for them.

Hm... I think it's a bit of a stretch to put this in SD-6.

Which user code, exactly, would depend on the ABI variant used?

What is the workaround currently in use for ABI detection?


Saleem Abdulrasool
compnerd (at) compnerd (dot) org