Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/lib/libpthread
On Fri, Jun 26, 2015 at 01:38:45AM +0000, Antti Kantee wrote:
> On Fri, Jun 26, 2015 at 01:33:09AM +0000, Antti Kantee wrote:
> > Module Name: src
> > Committed By: pooka
> > Date: Fri Jun 26 01:33:09 UTC 2015
> >
> > Modified Files:
> > src/lib/libpthread: pthread_types.h
> >
> > Log Message:
> > C++ (namely libc++) expects to be using PTHREAD_FOO_INITIALIZER as a
> > member initializer. This does not work for volatile types. Since C++
> > does not touch the guts of those types, redefine them as non-volatile.
> >
> > Fixes libc++ compilation with g++ 5.1, as reported in PR lib/49989.
>
> Forgot to mention: the patch is from christos (thanks!)
Please document this in doc/HACKS, it is an evil hack and IMHO working
around a g++ bug.
Martin
Home |
Main Index |
Thread Index |
Old Index