[Development] Q_OBJECT_CHECK / Q_OBJECT triggers warning in clang: explicitly assigning a variable of type 'int' to itself [-Wself-assign]

Milian Wolff mail at milianw.de
Sun Jul 21 23:43:03 CEST 2013


Hey all,

compiling with clang and ccache I get this warning for everytime it encounters 
a Q_OBJECT:

 warning: explicitly assigning a variable of type 'int' to itself [-Wself-
assign]

This is due to the Q_OBJECT_CHECK definition of 

-- 
Milian Wolff
mail at milianw.de
http://milianw.de



More information about the Development mailing list