On 03/03/2016 10:22 PM, Andrzej Telszewski wrote:
I do think that having this kind of information is useful, but in my opinion -Wno-padded should be default, and turning on the warning should be left to those who need it. I personally added -Wno-padded to the clang model settings.Say you have a struct like that: struct nopad { bool flag1; bool flag2; };
Not to mention that the warning becomes completely pointless with C++ classes containing virtual functions etc. In my experience, the false-positive rate is 100%.
Christian _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
