RFC: Avoiding #warning (C/C++ preprocessor extension)

Stephan Kulow coolo at kde.org
Tue Nov 1 12:32:51 GMT 2005


On Tuesday 01 November 2005 13:26, Martijn Klingens wrote:
> On Tuesday 01 November 2005 09:58, Stephan Kulow wrote:
> > And SUSE had to remove -Werror from all well intended KDE packages
> > because gcc4 decided Qt needs way more virtual destructors and warns
> > about it in -Wall now. Just too bad that adding them to Qt3 is binary
> > incompatible. So good bye -Werror
>
> Doesn't it work if you patch the failing Qt includes with '#pragma GCC
> system_header'? AFAICS that shouldn't affect BC and should suppress the
> warnings and hence the -Werror traps.
>
Yeah, that's the kind of work arounds I talked about - qt-copy has the patch
from SUSE though.

Greetings, Stephan




More information about the kde-core-devel mailing list