]> Savannah Git Hosting - gnulib.git/commitdiff
stdalign: port to clang 3.7.0
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 9 Feb 2016 16:54:11 +0000 (08:54 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 9 Feb 2016 16:54:50 +0000 (08:54 -0800)
Problem reported by Herbert J. Skuhra in:
http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00476.html
* lib/stdalign.in.h (alignas): Fix typo that prevented 'alignas'
from being defined on clang 3.7.0, which has a buggy stdalign.h.  See:
https://llvm.org/bugs/show_bug.cgi?id=26547

ChangeLog
lib/stdalign.in.h

index 40bdd23684e2efafe5af21b92af37c11795e3df6..9d5817525a1a9ca385a11ef5ee660e48a8971de5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2016-02-09  Paul Eggert  <eggert@cs.ucla.edu>
+
+       stdalign: port to clang 3.7.0
+       Problem reported by Herbert J. Skuhra in:
+       http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00476.html
+       * lib/stdalign.in.h (alignas): Fix typo that prevented 'alignas'
+       from being defined on clang 3.7.0, which has a buggy stdalign.h.  See:
+       https://llvm.org/bugs/show_bug.cgi?id=26547
+
 2016-02-08  Paul Eggert  <eggert@cs.ucla.edu>
 
        readdir_r: now obsolescent
index 6fca5b69414261a835e44e75b7c65c40e66a872b..7ce33a005398c5477241131fc639584217aed58a 100644 (file)
 # endif
 #endif
 #if ((defined _Alignas && ! (defined __cplusplus && 201103 <= __cplusplus)) \
-     || (defined __STDC_VERSION && 201112 <= __STDC_VERSION__))
+     || (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__))
 # define alignas _Alignas
 #endif
 #if defined alignas || (defined __cplusplus && 201103 <= __cplusplus)