]> Savannah Git Hosting - gnulib.git/commit
Don't use 'throw ()' in C++ 11 or newer.
authorBruno Haible <bruno@clisp.org>
Thu, 7 Sep 2023 20:22:43 +0000 (22:22 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 14 Sep 2023 10:01:57 +0000 (12:01 +0200)
commit58b2719ce900d5411fa117db0ca2b17ef6c317ee
treed3bd46134eefaf5803ede0d1ea896fe5c35da65d
parent09b9a1600fe9e41ea74f1546ec762a3a0b805f6d
Don't use 'throw ()' in C++ 11 or newer.

* lib/stddef.in.h (_GL_ATTRIBUTE_NOTHROW):  Provide fallback definition.
(abort): Declare with _GL_ATTRIBUTE_NOTHROW instead of throw().
* lib/malloc.in.h (rpl_free, free): Likewise.
* lib/stdlib.in.h (free): Likewise.
* lib/string.in.h (rpl_free, free, memchr, memrchr, rawmemchr,
strchrnul, strpbrk, strstr, strcasestr): Likewise.
* lib/wchar.in.h (rpl_free, free): Likewise.
* lib/getopt-cdefs.in.h (__THROW): Define to noexcept(true) for C++ 11
or newer.
* lib/md5.h (__THROW): Likewise.
ChangeLog
lib/getopt-cdefs.in.h
lib/malloc.in.h
lib/md5.h
lib/stddef.in.h
lib/stdlib.in.h
lib/string.in.h
lib/wchar.in.h