/local_home/sh/yast2/trunk/qt-pkg/src/YQPkgObjList.cc:540: warning: 'hasInstalledObj' is deprecated (declared at /usr/include/zypp/ui/Selectable.h:163) OK. So that function is deprecated. Hopefully there is a substitute for it that does the same thing in some modern, fancy way. But... Selectable.h: /** * True if installed object is present. * \deprecated Use ! installedEmpty() */ ZYPP_DEPRECATED bool hasInstalledObj() const { return ! installedEmpty(); } /** True if candidate object is present. */ bool hasCandidateObj() const { return candidateObj(); } /** True if installed and candidate object is present */ bool hasBothObjects() const { return (! installedEmpty()) && candidateObj(); } /** True if installed object is present but no candidate. */ bool hasInstalledObjOnly() const { return (! installedEmpty()) && ! candidateObj(); } /** True if candidate object is present but no installed. */ bool hasCandidateObjOnly() const { return ( installedEmpty() ) && candidateObj(); } Now somebody please explain what this might be good for. If there is a simple substitute (and there is), and that older function now simply calls that substitute (which it does), why not simply KEEP that old function that is now declared deprecated? In particular when there is half a dozen other functions that do very similar things, have very similar names, but are NOT deprecated?? CU -- Stefan Hundhammer <sh@suse.de> Penguin by conviction. YaST2 Development SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Nürnberg, Germany -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org