Hello , i also tested the small sample
struct S {
int i;
constexpr S() : i(1) {}
};
int i;
constexpr S() : i(1) {}
};
struct T {
S s[1];
constexpr T() {}
};
S s[1];
constexpr T() {}
};
T t;
with cl 19.00.24213.1 (upd3 + kb fix) and it fails.
The test with cl 19.10.24516 ( VS"15" preview 5) succeeds, just the linker says it is missing main().
Btw using 19.10.24516 angle does no longer crash for me in qt 5.7.0
Regards,
Gunnar Roth
Gesendet: Freitag, 21. Oktober 2016 um 00:37 Uhr
Von: "Henry Skoglund" <[email protected]>
An: [email protected]
Cc: [email protected]
Betreff: Re: [Development] std::atomic
Von: "Henry Skoglund" <[email protected]>
An: [email protected]
Cc: [email protected]
Betreff: Re: [Development] std::atomic
On 2016-10-21 00:11, Sergio Martins wrote:
> On 2016-10-20 21:43, Thiago Macieira wrote:
>> Em quinta-feira, 20 de outubro de 2016, às 17:28:39 PDT, Philippe
>> escreveu:
>>> std::atomic is used as underlying implementation for the the Qt atomic
>>> API with CLang on Mac.
>>> But why not with Visual Studio 2015? You will certainly mention some
>>> bug,
>>> but then where is the problem? (shortly)
>>
>> Because the Microsoft compiler does not support constexpr properly. See
>> https://connect.microsoft.com/VisualStudio/feedback/details/2011648
>>
>> I haven't tested Update 3 to see if that is fixed.
>
> Do you have a testcase for this bug ?
> I couldn't reproduce with Update2 by using a class with constexpr ctor
> and an array member, so I think I'm not testing it correctly.
If you click on "DETAILS" there is a testcase attached. Also, I just
tested on Visual Studio 2015 Update 3 and it still fails. /Rgrds Henry
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development
> On 2016-10-20 21:43, Thiago Macieira wrote:
>> Em quinta-feira, 20 de outubro de 2016, às 17:28:39 PDT, Philippe
>> escreveu:
>>> std::atomic is used as underlying implementation for the the Qt atomic
>>> API with CLang on Mac.
>>> But why not with Visual Studio 2015? You will certainly mention some
>>> bug,
>>> but then where is the problem? (shortly)
>>
>> Because the Microsoft compiler does not support constexpr properly. See
>> https://connect.microsoft.com/VisualStudio/feedback/details/2011648
>>
>> I haven't tested Update 3 to see if that is fixed.
>
> Do you have a testcase for this bug ?
> I couldn't reproduce with Update2 by using a class with constexpr ctor
> and an array member, so I think I'm not testing it correctly.
If you click on "DETAILS" there is a testcase attached. Also, I just
tested on Visual Studio 2015 Update 3 and it still fails. /Rgrds Henry
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
