[Interest] Is _GLIBCXX_USE_CXX11_ABI=0 defined in pre-build versions of Qt?

Thiago Macieira thiago.macieira at intel.com
Fri Jun 23 05:30:26 CEST 2017


On Thursday, 22 June 2017 05:24:46 PDT Jean-Michaƫl Celerier wrote:
> Hmm I think that it does : for instance QString::toStdString,
> QVector::toStdVector, etc...

The keyword was ABI, It's in the API, but not in the ABI, because those 
functions are inline. 

Note that this trick only works for the portable IA-64  C++ ABI that GCC uses. 
Microsoft's C++ ABI can't use the same trick because inline functions are part 
of the DLL's ABI.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list