On 17 January 2013 00:21, Jonathan Wakely wrote:
> This fixes a regression since 4.6 when -Wsystem-headers is used. The
> initialization of the __atomic_flag_base base class has a narrowing
> conversion from int (the macro) to either bool or unsigned char. The
> patch fixes it by calling a conste
On 17 January 2013 07:53, Daniel Krügler wrote:
> 2013/1/17 Jonathan Wakely :
>> This fixes a regression since 4.6 when -Wsystem-headers is used. The
>> initialization of the __atomic_flag_base base class has a narrowing
>> conversion from int (the macro) to either bool or unsigned char. The
>>
2013/1/17 Jonathan Wakely :
> This fixes a regression since 4.6 when -Wsystem-headers is used. The
> initialization of the __atomic_flag_base base class has a narrowing
> conversion from int (the macro) to either bool or unsigned char. The
> patch fixes it by calling a constexpr function which im
This fixes a regression since 4.6 when -Wsystem-headers is used. The
initialization of the __atomic_flag_base base class has a narrowing
conversion from int (the macro) to either bool or unsigned char. The
patch fixes it by calling a constexpr function which implicitly
converts the value to the r