[Development] C++20 ctor-level [[nodiscard]] (was: Re: C++20 @ Qt)

Stephen Kelly steveire at gmail.com
Fri Jun 16 10:06:33 CEST 2023


On 16/06/2023 07:49, Marc Mutz via Development wrote:
> On 14.06.23 08:33, Marc Mutz via Development wrote:
> 
> Two more data points:
> 
> It doesn't matter whether I write Q_FOO_EXPORT [[nodiscard]] or
> [[nodicard]] Q_FOO_EXPORT, I always get an error on some compiler.


Make sure you're not hitting

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96117




More information about the Development mailing list