current state of KDE_DEPRECATED ?

Nicolas Goutte nicolasg at snafu.de
Wed Mar 15 23:48:08 GMT 2006


On Wednesday 15 March 2006 23:43, Nicolas Goutte wrote:
> On Wednesday 15 March 2006 19:38, Alexander Neundorf wrote:
> > Hi,
> >
> > I get a lot of compiler errors due to KDE_DEPRECATED used in front of a
> > ctor with gcc 3.3.6 .
> > Is this the intended usage ?
>
> I have looked closer and can indeed confirm the problem with gcc 3.3.1.
> Using Q_DECL_CONSTRUCTOR_DEPRECATED does not seem to help. (So currently I
> wonder why QT3_SUPPORT_CONSTRUCTOR seems to work in Qt4.)

I have understood now. QT3_SUPPORT_CONSTRUCTOR is empty, as QT3_SUPPORT is 
defined while building Qt4.

So in fact this is a bug in Qt4, which should not define 
Q_DECL_CONSTRUCTOR_DEPRECATED for gcc 3.3.x like for gcc 3.4.x and higher.

>
> > Should KDE_DEPRECATED simply be defined to nothing with gcc < 3.4 ?
>
> Currently I think that we should create a KDE_CONSTRUCTOR_DEPRECATED and
> indeed disableit for gcc 3.3.x.
>
> > Bye
> > Alex
>
> Have a nice day!





More information about the kde-core-devel mailing list