[Development] Two source incompatibilities in Qt 5.5 with Clang

Stephen Kelly steveire at gmail.com
Fri Mar 13 12:23:00 CET 2015


Thiago Macieira wrote:

>> What macro works for multiple versions of Qt?
>> Why should everyone define such a macro themselves in their code? How
>> about contributing it back to qglobal.h? What would it be called? And to
>> bring this full circle, how about swapping the semantic of the old and
>> new macros?
>> 
>> I'm sure you considered not making the SIC change and creating a new
>> macro instead. Why did you decide for the SIC?
> 
> Two main reasons:
> 
> 1) it improves existing code, since we can get rid of some #ifdefs
> 
> 2) it allows us avoid CI integration errors because no one compiled in
> release mode before submitting


I'm sure it's as obvious to you as it is to me that both of those would be 
solved in a SIC way by a new macro. Q_CHECKED_ASSERT or similar.

It's not a good argument for the SIC.

Thanks,

Steve.





More information about the Development mailing list