[Development] MSVC not inlining QRect inline functions (anymore?)

Thiago Macieira thiago.macieira at intel.com
Mon Jun 8 20:34:34 CEST 2026


On Monday, 8 June 2026 01:01:56 Pacific Daylight Time Marc Mutz via Development 
wrote:
> Aaaand another entry into the ever-growing list of "never wholesale-export a
> non-polymorphic rule" failures
> (https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews#Value_Classes Item
> 6).

I don't agree. There's convenience when there are a lot of out-of-line 
functions, or even no inlines.

The fact that MSVC continues to be a bad optimiser is not a new problem. Its 
optimisation quality has been stuck in the late 2000s level. People can choose 
a better compiler if they have a problem with this.

Vote with your money and tell Microsoft to improve it.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Principal Engineer - Intel DCG - Platform & Sys. Eng.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5176 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20260608/069d20da/attachment-0001.bin>


More information about the Development mailing list