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

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Fri Jun 16 20:05:30 CEST 2023


On 16/06/2023 18:00, Thiago Macieira wrote:
> On Friday, 16 June 2023 01:06:33 PDT Stephen Kelly wrote:
>> Make sure you're not hitting
>>
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96117
> We are indeed hitting that. But there's nothing we can currently do about it.

Why can't we turn Q_DECL_EXPORT to [[gnu::visibility("default")]] to 
work around the bug?

Thanks,

-- 
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4244 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.qt-project.org/pipermail/development/attachments/20230616/0101a1ca/attachment-0001.bin>


More information about the Development mailing list