Comment 9 for bug 1401202

Revision history for this message
Sylvestre Ledru (sylvestre) wrote : Re: [Bug 1401202] Re: clang-3.5 fails to compile C++11 files after installing gcc-4.9

On 15/01/2015 17:23, RJVB wrote:
> On Thursday January 15 2015 16:10:18 DaanS wrote:
>> Minor update:
>> Somewhere between rL201729 and RELEASE_350/final, the fix was changed to:
>> #if __STDC_VERSION__ >= 201112L || __cplusplus >= 201103L
>> #if !defined(__CLANG_MAX_ALIGN_T_DEFINED) || __has_feature(modules)
>> #ifndef _MSC_VER
>> typedef struct {
>> long long __clang_max_align_nonce1
>> __attribute__((__aligned__(__alignof__(long long))));
>> long double __clang_max_align_nonce2
>> __attribute__((__aligned__(__alignof__(long double))));
>> } max_align_t;
>> #else
>> typedef double max_align_t;
>> #endif
>> #define __CLANG_MAX_ALIGN_T_DEFINED
>> #endif
>> #endif
>
> #> clang --version
> Ubuntu clang version 3.5.0-8~debiansid-rjvb-ppa20141214 (tags/RELEASE_350/final) (based on LLVM 3.5.0)
>
> Is rL201729 more recent than that final 350 release? If not, is there
> any reason to spend the time updating my PPA (even if launchpad does the
> heavy lifting it still is a considerable chunk of work)?
>
I don't really know, sorry :/

FYI, I uploaded 3.5.1 in Debian experimental. a 3.5.2 will come.

Sylvestre