[Development] MSVC not inlining QRect inline functions (anymore?)
Philippe
philwave at gmail.com
Mon Jun 8 23:06:34 CEST 2026
> Can you try /Ob3 ?
Yes it works!
But only with both /Ob3 and Mårten's patch
(https://codereview.qt-project.org/c/qt/qtbase/+/742796)
Philippe
On Mon, 08 Jun 2026 12:57:17 -0700
Thiago Macieira <thiago.macieira at intel.com> wrote:
> On Monday, 8 June 2026 11:49:20 Pacific Daylight Time Philippe wrote:
> > > A small experiment https://codereview.qt-project.org/c/qt/qtbase/+/742796
> >
> > This builds fine, but methods are still not inlined :(
> >
> > While I am very fond of working in the Visual Studio IDE, I must say I
> > understand Thiago's POV about the quality of the MSVC compiler.
> >
>
> Can you try /Ob3 ?
>
> https://learn.microsoft.com/en-us/cpp/build/reference/ob-inline-function-expansion?view=msvc-170
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
> Principal Engineer - Intel DCG - Platform & Sys. Eng.
More information about the Development
mailing list