stdnoreturn, stdnoreturn-tests: remove modules
[gnulib.git] / ChangeLog
index e555f5a..551943d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,35 @@
 2011-07-12  Paul Eggert  <eggert@cs.ucla.edu>
 
+       stdnoreturn, stdnoreturn-tests: remove modules
+       They're not needed here and a bit premature for use elsewhere.  See
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-07/msg00209.html>.
+       * m4/stdnoreturn.m4, modules/stdnoreturn, modules/stdnoreturn-tests:
+       * tests/test-stdnoreturn.c: Remove files.
+       * MODULES.html.sh (_Noreturn <stdnoreturn.h>): Remove section.
+       * lib/openat.h, lib/sigpipe-die.h, lib/xalloc.h, lib/xmemdup0.h:
+       * lib/xstrtol.h: Use _Noreturn rather than including <stdnoreturn.h>
+       and using noreturn.
+       * modules/openat, modules/sigpipe-die, modules/xalloc:
+       * modules/xmemdup0, modules/xstrtol:
+       Remove dependency on stdnoreturn.
+
+       _Noreturn: Ignore __STDC_VERSION__; observe _MSC_VER.
+       * build-aux/_Noreturn.h (_Noreturn): Ignore __STDC_VERSION__.
+       Reparenthesize to avoid GCC warning.
+       Support Microsoft's syntax.
+       * m4/gnulib-common.m4 (gl_COMMON_BODY): Likewise.
+
+       _Noreturn-tests: remove module
+       * modules/_Noreturn-tests: Remove.
+       * modules/stdnoreturn-tests (Files): Remove tests/test-_Noreturn.c.
+       * tests/test-_Noreturn.c: Remove.
+       * tests/test-stdnoreturn.c: Merge from the old
+       tests/test-_Noreturn.c, testing both noreturn and _Noreturn.
+
+       * top/maint.mk: Adjust to new noreturn support.
+       (gl_extract_significant_defines_): Omit pattern ATTRIBUTE_NORETURN.
+       (def_sym_regex): Do not remove ATTRIBUTE_NORETURN.
+
        xalloc: use stdnoreturn.h
        * lib/xalloc.h: Include <stdnoreturn.h>.
        (_GL_ATTRIBUTE_NORETURN): Remove; all uses replaced with noreturn.