https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200
Zack Weinberg <zackw at panix dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zackw at panix dot com
--- Comment #26 from Zack Weinberg <zackw at panix dot com> ---
/subscribe
I've tripped over this problem myself in the context of the new
password-hashing library, libxcrypt (see
https://github.com/besser82/libxcrypt/issues/24 ) Our symbol-versioning
techniques are lifted from glibc (see
https://github.com/besser82/libxcrypt/blob/aae4c1baea534d2e4c9dfe2faf42ee0c5f7a6f22/crypt-port.h#L122
). Function attributes seem like a good replacement to me, although I'd ask
that people think about how a library author might write macros that will
seamlessly fall back to the older technique.