diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2026-03-26 12:53:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-26 12:53:53 +0100 |
| commit | 13e14a6bfd9f29cbfeab0c5161d2a994f97532e7 (patch) | |
| tree | 3aa7186fe092e42783dc7e981dc39a74ea61c466 /gl/m4/stdalign.m4 | |
| parent | 9d8503f90ef25b2cecd324dc118e441f40233ea8 (diff) | |
| download | monitoring-plugins-13e14a6bfd9f29cbfeab0c5161d2a994f97532e7.tar.gz | |
Update/gnulib 2026 03 (#2247)
* Sync with the 202601-stable Gnulib code (4a3650d887)
* Ignore more deps stuff in gnulib
* Remove autogenerated gnulib files
* Ignore more gnulib generated headers
Diffstat (limited to 'gl/m4/stdalign.m4')
| -rw-r--r-- | gl/m4/stdalign.m4 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gl/m4/stdalign.m4 b/gl/m4/stdalign.m4 index 885feafd..7177d034 100644 --- a/gl/m4/stdalign.m4 +++ b/gl/m4/stdalign.m4 | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # stdalign.m4 | 1 | # stdalign.m4 |
| 2 | # serial 3 | 2 | # serial 3 |
| 3 | dnl Copyright 2011-2025 Free Software Foundation, Inc. | 3 | dnl Copyright 2011-2026 Free Software Foundation, Inc. |
| 4 | dnl This file is free software; the Free Software Foundation | 4 | dnl This file is free software; the Free Software Foundation |
| 5 | dnl gives unlimited permission to copy and/or distribute it, | 5 | dnl gives unlimited permission to copy and/or distribute it, |
| 6 | dnl with or without modifications, as long as this notice is preserved. | 6 | dnl with or without modifications, as long as this notice is preserved. |
| @@ -30,7 +30,7 @@ AC_DEFUN([gl_ALIGNASOF], | |||
| 30 | 30 | ||
| 31 | /* Test that alignof yields a result consistent with offsetof. | 31 | /* Test that alignof yields a result consistent with offsetof. |
| 32 | This catches GCC bug 52023 | 32 | This catches GCC bug 52023 |
| 33 | <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52023>. */ | 33 | <https://gcc.gnu.org/PR52023>. */ |
| 34 | #ifdef __cplusplus | 34 | #ifdef __cplusplus |
| 35 | template <class t> struct alignof_helper { char a; t b; }; | 35 | template <class t> struct alignof_helper { char a; t b; }; |
| 36 | # define ao(type) offsetof (alignof_helper<type>, b) | 36 | # define ao(type) offsetof (alignof_helper<type>, b) |
| @@ -82,8 +82,8 @@ AC_DEFUN([gl_ALIGNASOF], | |||
| 82 | 82 | ||
| 83 | References: | 83 | References: |
| 84 | ISO C23 (latest free draft | 84 | ISO C23 (latest free draft |
| 85 | <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3096.pdf>) | 85 | <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3220.pdf>) |
| 86 | sections 6.5.3.4, 6.7.5, 7.15. | 86 | sections 6.2.8, 6.7.6. |
| 87 | C++11 (latest free draft | 87 | C++11 (latest free draft |
| 88 | <https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3242.pdf>) | 88 | <https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3242.pdf>) |
| 89 | section 18.10. */ | 89 | section 18.10. */ |
| @@ -103,7 +103,7 @@ AC_DEFUN([gl_ALIGNASOF], | |||
| 103 | want to be portable to HP-UX 10.20 cc and AIX 3.2.5 xlc. */ | 103 | want to be portable to HP-UX 10.20 cc and AIX 3.2.5 xlc. */ |
| 104 | 104 | ||
| 105 | /* GCC releases before GCC 4.9 had a bug in _Alignof. See GCC bug 52023 | 105 | /* GCC releases before GCC 4.9 had a bug in _Alignof. See GCC bug 52023 |
| 106 | <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52023>. | 106 | <https://gcc.gnu.org/PR52023>. |
| 107 | clang versions < 8.0.0 have the same bug. | 107 | clang versions < 8.0.0 have the same bug. |
| 108 | IBM XL C V16.1.0 cc (non-clang) has the same bug. */ | 108 | IBM XL C V16.1.0 cc (non-clang) has the same bug. */ |
| 109 | # if (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 \ | 109 | # if (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 \ |
