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

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to