The following patch was sent to me by Dev Dude, who is not on this list. Could someone who is running libcxx and picking up the #elif defined(__GNUC__) branch in <__config> review this? It looks good to me, but I'm not testing this branch of <__config>:
Index: include/__config =================================================================== --- include/__config (revision 161117) +++ include/__config (working copy) @@ -276,6 +276,7 @@ #elif defined(__GNUC__) #define _ALIGNAS(x) __attribute__((__aligned__(x))) +#define _ALIGNAS_TYPE(x) __attribute__((__aligned__(__alignof(x)))) #define _LIBCPP_NORETURN __attribute__((noreturn)) Thanks, Howard _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
