Use HIDE_FROM_ABI
in the dylib
#81652
Labels
libc++
libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
I think this should be
HIDE_FROM_ABI
. Otherwise, we'll have potential ODR violations when mixing different versions of libc++ via static archives. This seems to be a widespread pre-existing problem in the library after a quick survey.This would force you to define it in the header because
HIDE_FROM_ABI
isALWAYS_INLINE
on GCC. I think it would be acceptable to ignore this issue until we've cleaned that up, since I feel like this is a very deep can of worms to open.Originally posted by @ldionne in #74928 (comment)
The text was updated successfully, but these errors were encountered: