]> Savannah Git Hosting - gnulib.git/commitdiff
stdalign, stdnoreturn: improve deprecation warnings
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 18 Jan 2025 05:08:27 +0000 (21:08 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 18 Jan 2025 05:08:27 +0000 (21:08 -0800)
* modules/stdalign, modules/stdalign-h, modules/stdnoreturn:
* modules/stdnoreturn-h: Use more consistent deprecation
warnings, that do not recommend a different deprecated module.

ChangeLog
modules/stdalign
modules/stdalign-h
modules/stdnoreturn
modules/stdnoreturn-h

index f41d5c885f3f23afedece72b68a20eaef065ceb0..43e1361ed7799e651295a001050e18a327d7acce 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2025-01-17  Paul Eggert  <eggert@cs.ucla.edu>
+
+       stdalign, stdnoreturn: improve deprecation warnings
+       * modules/stdalign, modules/stdalign-h, modules/stdnoreturn:
+       * modules/stdnoreturn-h: Use more consistent deprecation
+       warnings, that do not recommend a different deprecated module.
+
 2025-01-17  Bruno Haible  <bruno@clisp.org>
 
        sys_stat-h: Ensure blksize_t and blkcnt_t are defined.
index b0f0ebf2e99ff95fdf70b7caf6c70c0cb7d164e9..0e6881b8276c5fd8617acfc268625707e51504f2 100644 (file)
@@ -5,7 +5,8 @@ Status:
 deprecated
 
 Notice:
-This module is deprecated. Use the module 'stdalign-h' instead.
+This module is deprecated.
+New code should use the alignasof module, and not include <stdalign.h>.
 
 Files:
 
index ceeab546a2f6cddbd22f59addb22639e48dbcdf5..588cfce1253c7984b7e6cff55ff019f407045e72 100644 (file)
@@ -2,7 +2,7 @@ Description:
 alignas and alignof that are like C23 and C++11.
 
 Notice:
-The stdalign module is deprecated.
+This module is deprecated.
 New code should use the alignasof module, and not include <stdalign.h>.
 
 Files:
index 086917e963fa124e0efe4255e9771746ea86244e..bb5b623a3d33aada8e0a68826a6bedd0fe364cc7 100644 (file)
@@ -5,7 +5,8 @@ Status:
 deprecated
 
 Notice:
-This module is deprecated. Use the module 'stdnoreturn-h' instead.
+This module is deprecated.
+New code should use the '_Noreturn' keyword or the 'noreturn' module.
 
 Files:
 
index e283fd18fb201a03156c178a97314242ddb80cdc..ed961e075d5794c0153e106e9ab1738b3239dd66 100644 (file)
@@ -2,7 +2,7 @@ Description:
 A <stdnoreturn.h> that nearly conforms to ISO C11.
 
 Notice:
-The module 'stdnoreturn' is deprecated.
+This module is deprecated.
 New code should use the '_Noreturn' keyword or the 'noreturn' module.
 
 Files: