<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">On the CFE-dev list, Kal reported:<div><br></div><div><blockquote type="cite"><span style="font-family: LucidaGrande;">Running libc++ 3.4 rc1 "testit" on 32-bit Linux fails for test:</span><br style="font-family: LucidaGrande;"><br style="font-family: LucidaGrande;"><span style="font-family: LucidaGrande;">test/language.support/support.types/max_align_t.pass.cpp</span><br style="font-family: LucidaGrande;"><br style="font-family: LucidaGrande;"><span style="font-family: LucidaGrande;">max_align_t is typedef'd to "long double" type in <cstddef>. But...</span><br style="font-family: LucidaGrande;"><br style="font-family: LucidaGrande;"><span style="font-family: LucidaGrande;">alignment_of(long double)=4, sizeof(long double)=12</span><br style="font-family: LucidaGrande;"><span style="font-family: LucidaGrande;">alignment_of(long long)=8, sizeof(long long)=8</span><br style="font-family: LucidaGrande;"></blockquote><br></div><div>and last night, in r201037, David Majnemer added support for a macro <span style="font-family: LucidaGrande;">__ALIGNOF_MAX_ALIGN_T__.</span></div><div><span style="font-family: LucidaGrande;"><br></span></div><div><font face="LucidaGrande">This patch changes the definition of </font><span style="font-family: LucidaGrande;">max_align_t when that macro is present.</span></div><div><span style="font-family: LucidaGrande;"><br></span></div><div><span style="font-family: LucidaGrande;">Note: The actual definition of </span><font face="LucidaGrande">max_align_t is:</font></div><div><div><font face="LucidaGrande">• The type max_align_t is a POD type whose alignment requirement is at least as great as that of every scalar type, and whose alignment requirement is supported in every context.</font></div></div><div><font face="LucidaGrande"><br></font></div><div><div><font face="LucidaGrande">— Marshall</font></div></div><div><font face="LucidaGrande"><br></font></div><div></div></body></html>