]> 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, 7 Sep 2023 20:22:43 +0000 (22:22 +0200)
commit930d701fe71704e8d53bda43ffc78088b1d898ed
tree6dbe8d114015dc7309b1d0c5445d12f32886e586
parent884b9adcde5fad32b279f195cc76c27e8be3be34
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