On Wednesday 22 July 2015 14:39:40 Matthew Woehlke wrote: > (On that subject, -Werror=cast-qual also might have helped here; that's > another one I use and would encourage. Also -Werror=return-type, which > *EVERYONE* should use, period.)
I've fixed most -Wcast-qual errors in Qt the last 6 months. We'll also soon enable -Werror=cast-qual to make sure they don't creep back. Trivia: how do you do a const_cast in C code while under -Werror=cast-qual? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest