On Tuesday, 19 September 2017 09:08:50 PDT Thiago Macieira wrote: > And maybe a fix for MSVC's inability to override the global operator new. > See https://bugreports.qt.io/browse/QTBUG-63274.
Nope, that doesn't work either. Proof: https://godbolt.org/g/FM9ohw Note how it calls the DLL: call QWORD PTR __imp_?f@S@@QEAAXXZ Clang obeys the always-inline hint and inlines. MSVC doesn't inline. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
