[Development] On the use of the inline keyword

Thiago Macieira thiago.macieira at intel.com
Fri Aug 25 21:05:38 CEST 2023


On Friday, 25 August 2023 01:34:17 PDT Hasselmann Mathias via Development 
wrote:
> Am 24.08.2023 um 21:42 schrieb Thiago Macieira:
> > That warning looks like a bug in the compiler instead. So if there's no
> > ill- effect, I'd just disable and ignore it.
> 
> Seems like an easy fix, but breaks user code that explicitly enables
> this warning. Guess ignoring is not a good option, if one cares about
> user experience.

Yeah, that scratches the idea. We do want to have our headers as clean as 
possible, so it couldn't be a command-line option. And as Kai says, it doesn't 
look like it can be disabled at all.

So we go back to having to fix the inlines in exported classes.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5152 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20230825/816b5827/attachment-0001.bin>


More information about the Development mailing list