From: Bruno Haible Date: Sun, 19 Jan 2025 09:40:02 +0000 (+0100) Subject: attribute: Add note about ongoing standardization of some attributes. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=920e5811e892066ab93dd62bc5f6c5e56e071653;p=gnulib.git attribute: Add note about ongoing standardization of some attributes. * m4/gnulib-common.m4 (gl_COMMON_BODY): Add note that the meaning of _GL_ATTRIBUTE_REPRODUCIBLE and _GL_ATTRIBUTE_UNSEQUENCED are likely to change. * lib/attribute.h (UNSEQUENCED, REPRODUCIBLE): Likewise. --- diff --git a/ChangeLog b/ChangeLog index e01201e36d..7c402b5a0b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2025-01-19 Bruno Haible + + attribute: Add note about ongoing standardization of some attributes. + * m4/gnulib-common.m4 (gl_COMMON_BODY): Add note that the meaning of + _GL_ATTRIBUTE_REPRODUCIBLE and _GL_ATTRIBUTE_UNSEQUENCED are likely to + change. + * lib/attribute.h (UNSEQUENCED, REPRODUCIBLE): Likewise. + 2025-01-19 Bruno Haible renameatu: Simplify configure test. diff --git a/lib/attribute.h b/lib/attribute.h index 4939d776e7..625195c856 100644 --- a/lib/attribute.h +++ b/lib/attribute.h @@ -257,7 +257,9 @@ because the function need not return exactly once and can depend on state addressed by its arguments.) See also and - . */ + . + ATTENTION! Efforts are underway to change the meaning of this attribute. + See . */ /* Applies to: functions, pointer to functions, function type. */ #define UNSEQUENCED _GL_ATTRIBUTE_UNSEQUENCED @@ -284,7 +286,9 @@ because the function need not return exactly once and can affect state addressed by its arguments.) See also and - . */ + . + ATTENTION! Efforts are underway to change the meaning of this attribute. + See . */ /* Applies to: functions, pointer to functions, function type. */ #define REPRODUCIBLE _GL_ATTRIBUTE_REPRODUCIBLE diff --git a/m4/gnulib-common.m4 b/m4/gnulib-common.m4 index b3b1391bd5..6eff85bea1 100644 --- a/m4/gnulib-common.m4 +++ b/m4/gnulib-common.m4 @@ -1,5 +1,5 @@ # gnulib-common.m4 -# serial 106 +# serial 107 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -753,7 +753,9 @@ AC_DEFUN([gl_COMMON_BODY], [ than _GL_ATTRIBUTE_PURE because the function need not return exactly once and can affect state addressed by its arguments.) See also and - . */ + . + ATTENTION! Efforts are underway to change the meaning of this attribute. + See . */ /* Applies to: functions, pointer to functions, function types. */ #ifndef _GL_ATTRIBUTE_REPRODUCIBLE /* This may be revisited when gcc and clang support [[reproducible]] or possibly @@ -804,7 +806,9 @@ AC_DEFUN([gl_COMMON_BODY], [ _GL_ATTRIBUTE_CONST because the function need not return exactly once and can depend on state addressed by its arguments.) See also and - . */ + . + ATTENTION! Efforts are underway to change the meaning of this attribute. + See . */ /* Applies to: functions, pointer to functions, function types. */ #ifndef _GL_ATTRIBUTE_UNSEQUENCED /* This may be revisited when gcc and clang support [[unsequenced]] or possibly