[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: About KDE_NO_DEPRECATED
From:       Nicolas Alvarez <nicolas.alvarez () gmail ! com>
Date:       2011-06-26 23:35:52
Message-ID: iu8foq$9vf$1 () dough ! gmane ! org
[Download RAW message or body]

JonAnder PeƱalba wrote:
> I've been doing some experiments with the KDE_NO_DEPRECATED define and I
> have some doubts.
> 
> What is it exactly supposed to mean?
> As I understand it, when compiling with this define, all deprecated code
> should be ignored and the application should work as expected. So if an
> application builds with KDE_NO_DEPRECATED, you can be sure it's not using
> any deprecated code that might be removed in future versions.
> This is not the result I get. When I compile with this define, I get
> strange results that vary from weird behavior to segfaults.

I don't know if this is intended behavior, but as far as I can tell, kdelibs 
built with and without KDE_NO_DEPRECATED have *incompatible ABIs*. So there 
will be problems if kdelibs is built with it defined and the app without it, 
or viceversa.

-- 
Nicolas


 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic