]> Savannah Git Hosting - gnulib.git/commit
libc-config: port __THROW to Ubuntu 4
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 17 Sep 2020 16:45:21 +0000 (09:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 17 Sep 2020 16:46:01 +0000 (09:46 -0700)
commit8125325281a491de9e0a6edc3c4d40d77c026114
tree57d2b053c0ce49f8c004c26c9ca2b8f3fdd96827
parentd7d69621581065274582c78981b58dbce4313d2c
libc-config: port __THROW to Ubuntu 4

* lib/cdefs.h (__THROW): Do not use __attribute__ ((__nothrow__))
for GCC 3.3.  Problem reported by Jeffrey Walton in:
https://lists.gnu.org/r/bug-gnulib/2019-07/msg00058.html
The GCC 3.3.4 documentation says the attribute should work, but
apparently it does not work on Ubuntu 4’s GCC 3.3.  There seems
little point or desire to research this circa-2004 platform further,
so just avoid the attribute there.
ChangeLog
lib/cdefs.h