<table><tr><td style="">kossebau added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D29708">View Revision</a></tr></table><br /><div><div><p><a href="https://phabricator.kde.org/p/dfaure/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;">@dfaure</a> So far I had no idea how to introduce a simple variant of the deprecation macros to support just disabling latest. For one would this make things more complex as there would be yet another approach. And things would be also become a bit unreliable on the library consumer side, as any version-less BUILD_DEPRECATED would no longer be bound to a version and thus to a certain set of API.</p>

<p>And as said in the commit message, the current version-based EXCLUDE_DEPRECATED_BEFORE_AND_AT can also be used with KIO, if we simply just give no guarantee that this works with any version, but only with some, with better chances for future versions (if people now make sure things build without deprecated API and do not reintroduce the use of already deprecated API) :)</p>

<p>Using this patch with EXCLUDE_DEPRECATED_BEFORE_AND_AT=CURRENT shows that there are lots of KRun::run* usages in non-deprecated API sadly in KIO :(</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D29708">https://phabricator.kde.org/D29708</a></div></div><br /><div><strong>To: </strong>kossebau, Frameworks, dfaure, meven, ahmadsamir<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns<br /></div>