[Development] Two source incompatibilities in Qt 5.5 with Clang

Thiago Macieira thiago.macieira at intel.com
Mon Mar 16 22:54:53 CET 2015


On Monday 16 March 2015 21:05:41 Stephen Kelly wrote:
> Thiago Macieira wrote:
> > Because we want to benefit from the new code and remove the unnecessary
> > #ifndef and Q_UNUSED. If we don't change the current macro, then we
> > deprecate the old one and convert all the code to the new one
> 
> You could deprecate the old behavior.
> 
> #ifdef QT_BUILDING_QT || QT_DISABLE_DEPRECATED_BEFORE >= 0x050500
> #define USE_NEW_ASSERT
> #endif
> 
> #ifdef USE_NEW_ASSERT
>  // ...
> #else
>  // ...
> #endif

We could do that.

Opinions for or against?
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list