X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstdalign.in.h;h=1523058134018d6b3296a603c5da3e63c0183689;hb=25b6b5120113989e0b91de9d0b75d3d625bbc753;hp=7d26a82cee84f1841100ad0a333a3457ac5e6277;hpb=1602f0afed21be664fcf5c42d59db07cc22c56d6;p=gnulib.git diff --git a/lib/stdalign.in.h b/lib/stdalign.in.h index 7d26a82ce..152305813 100644 --- a/lib/stdalign.in.h +++ b/lib/stdalign.in.h @@ -1,4 +1,4 @@ -/* A substitute for ISO C 1x . +/* A substitute for ISO C11 . Copyright 2011-2012 Free Software Foundation, Inc. @@ -13,20 +13,21 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program; if not, see . */ /* Written by Paul Eggert and Bruno Haible. */ #ifndef _GL_STDALIGN_H #define _GL_STDALIGN_H -/* ISO C1X for platforms that lack it. +/* ISO C11 for platforms that lack it. References: - ISO C1X + ISO C11 (latest free draft + ) sections 6.5.3.4, 6.7.5, 7.15. - C++0X + C++11 (latest free draft + ) section 18.10. */ /* alignof (TYPE), also known as _Alignof (TYPE), yields the alignment @@ -68,7 +69,7 @@ To be portable to Sun C 5.11, do not align auto variables to anything stricter than their default alignment. - The following draft C1X requirements are not supported here: + The following C11 requirements are not supported here: - If A is zero, alignas has no effect. - alignas can be used multiple times; the strictest one wins.