This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: __attribute__((unused)) on function


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roland McGrath wrote:
> #ifndef USE_TLS
> # define __thread /* empty */
> #endif

I want to go even one step further: always require and use __thread.
Having different configurations, especially ones which aren't visible
from the outside like this one, are dangerous.  I have a patch which I
intend to check in which simply does away wit all the !USE_TLS code and
checks for the availability of __thread and fails if it isn't there.

- --
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAklpCXQACgkQ2ijCOnn/RHRUWwCgos015SXgBvwkn3JVn6czH+21
b10AoJBALSlnEvknE61Ca6PpWN4RHf9B
=NK4I
-----END PGP SIGNATURE-----

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]