Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.1.1
-
None
-
gcc, clang
-
aef44c7970457cc2b673429f8e632e4ac2ee3510
Description
QSizePolicy and QPalette classes both contain an anonymous union with anonymous struct inside, which is not standard C++. Hence, any code that directly or indirectly includes these headers cannot be compiled with -pedantic-errors. That effectively means that no code that uses QtWidgets can be compiled with -pedantic-errors.