[Bug 1401202] Re: clang-3.5 fails to compile C++11 files after installing gcc-4.9

2015-01-15 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: llvm-toolchain-snapshot (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1401202] Re: clang-3.5 fails to compile C++11 files after installing gcc-4.9

2015-01-15 Thread DaanS
I've verified that the upstream binary distribution (http://llvm.org/releases/3.5.0/clang+llvm-3.5.0-x86_64-linux-gnu- ubuntu-14.04.tar.xz) is *not* affected by this bug. @RJVB: all I know is that rL201729 was considered for inclusion in clang-3.4.1, which I believe predates 3.5.0. But I'm not

Re: [Bug 1401202] Re: clang-3.5 fails to compile C++11 files after installing gcc-4.9

2015-01-15 Thread RJVB
On Thursday January 15 2015 16:45:56 DaanS wrote: I've verified that the upstream binary distribution (http://llvm.org/releases/3.5.0/clang+llvm-3.5.0-x86_64-linux-gnu- ubuntu-14.04.tar.xz) is *not* affected by this bug. That would make sense, presuming it's based on 3.5.0 final, and not on a

Re: [Bug 1401202] Re: clang-3.5 fails to compile C++11 files after installing gcc-4.9

2015-01-15 Thread Sylvestre Ledru
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

[Bug 1401202] Re: clang-3.5 fails to compile C++11 files after installing gcc-4.9

2015-01-15 Thread DaanS
Minor update: Somewhere between rL201729 and RELEASE_350/final, the fix was changed to: #if __STDC_VERSION__ = 201112L || __cplusplus = 201103L

Re: [Bug 1401202] Re: clang-3.5 fails to compile C++11 files after installing gcc-4.9

2015-01-15 Thread RJVB
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

[Bug 1401202] Re: clang-3.5 fails to compile C++11 files after installing gcc-4.9

2015-01-15 Thread DaanS
I'm not sure how a change of path in gcc could cause this issue. clang++ *should* provide ::max_align_t itself in c++11 mode. http://reviews.llvm.org/file/data/sw37fgtbupwhetydgazl/PHID-FILE-wprxzvc5yn4ylp7xwt6t/201729.diff: +#if __STDC_VERSION__ = 201112L || __cplusplus = 201103L +typedef struct

[Bug 1401202] Re: clang-3.5 fails to compile C++11 files after installing gcc-4.9

2015-01-15 Thread DaanS
Is this a regression introduced in Ubuntu? The SVN sources for clang 3.5.0 and 3.5.1 both contain the fix introduced in rL201729. This bug seriously limits the usefulness of clang 3.5 on Ubuntu, as it also suffers from a serious bug in libstdc++-4.8 (see, for example,

[Bug 1401202] Re: clang-3.5 fails to compile C++11 files after installing gcc-4.9

2015-01-15 Thread Sylvestre Ledru
I think it is a caused by a change of path in gcc. I had several issues like that in the past. Patches are welcome! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1401202 Title: clang-3.5 fails to

[Bug 1401202] Re: clang-3.5 fails to compile C++11 files after installing gcc-4.9

2015-01-15 Thread RJVB
Not a regression in Ubuntu, unless if you consider standstill = regression. As noted by Daan above, all is needed is to update llvm to a more recent version, like Debian have done in Jessie/Sid. Backported to 14.04: ppa:rjvbertin/llvm -- You received this bug notification because you are a