[Development] clang and auto-setting of QT_NO_EXCEPTIONS

Thiago Macieira thiago.macieira at intel.com
Fri May 26 05:40:43 CEST 2017


On Thursday, 25 May 2017 14:51:05 PDT René J. V. Bertin wrote:
> > Ok, I could reproduce this. It's Apple's bug and regression.
> > 
> > $ /Applications/Xcode.app/Contents/Developer/Toolchains/
> > XcodeDefault.xctoolchain/usr/bin/clang++ -fno-exceptions -std=c++11 -dM -E
> > - xobjective-c++ /dev/null | grep __EXCEPTIONS
> > #define __EXCEPTIONS 1
> 
> What Xcode version is this? Clang 3.6 was introduced with Xcode 6.3 . If
> your Xcode.app is older than that you're not seeing a regression introduced
> by Apple but a feature introduced upstream. (Admittedly it could be both,
> given Apple's role in LLVM & clang ^^)

The only Clang that matters on a Mac (the one that came with the latest 
XCode).

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




More information about the Development mailing list