This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc-4.7-20111022 fails to build on PA-RISC


2011/10/30 Jonathan Wakely <jwakely.gcc@gmail.com>:
> On 30 October 2011 20:53, Daniel Krügler wrote:
>> The error occurs, if you declare a variable of mutex, like
>>
>> mutex m2;
>
> Doh - thanks, I'm less confused now.

But the result of the second initialization shows clearly
that there is something wrong with the compiler, because
mutex is no aggregate any more, thus writing either

mutex m2;

or

mutex m2{};

should both have the same effects.

- Daniel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]