<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">

<p class="details" style="font-style: italic; color: #666;">
<a href="https://gitlab.com/nanonyme">Seppo Yli-Olli</a> created an issue: <a href="https://gitlab.com/gnutls/gnutls/-/issues/1318">#1318</a>
</p>
<div></div>
<h2 dir="auto">
<a id="user-content-description-of-problem" class="anchor" href="#description-of-problem" aria-hidden="true"></a>Description of problem:</h2>
<p dir="auto">Apparently through <a href="https://gitlab.com/gnutls/gnutls/-/commit/67cab96c1d59fec2e2b85ee054ec0015195cc35c" data-original="https://gitlab.com/gnutls/gnutls/-/commit/67cab96c1d59fec2e2b85ee054ec0015195cc35c" data-link="false" data-link-reference="true" data-project="179611" data-commit="67cab96c1d59fec2e2b85ee054ec0015195cc35c" data-reference-type="commit" data-container="body" data-placement="top" title="gnutlsxx: add const and explicit specifiers where possible" class="gfm gfm-commit has-tooltip">67cab96c</a> methods db_check_entry and set_credentials gained const qualifiers to parameters. While this is safe in C API, it apparently is not in C++ API (there is some notes for this in <a href="https://community.kde.org/Policies/Binary_Compatibility_Issues_With_C%2B%2B" rel="nofollow noreferrer noopener" target="_blank">https://community.kde.org/Policies/Binary_Compatibility_Issues_With_C%2B%2B</a>, C++ ABI compat is a <em>lot</em> more complex). However, soname was kept. It looks like soname should probably have been bumped with this const qualifier change since it broke ABI compatibility.</p>
<h2 dir="auto">
<a id="user-content-version-of-gnutls-used" class="anchor" href="#version-of-gnutls-used" aria-hidden="true"></a>Version of gnutls used:</h2>
<p dir="auto">3.7.2</p>
<h2 dir="auto">
<a id="user-content-distributor-of-gnutls-eg-ubuntu-fedora-rhel" class="anchor" href="#distributor-of-gnutls-eg-ubuntu-fedora-rhel" aria-hidden="true"></a>Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)</h2>
<p dir="auto">freedesktop-sdk</p>
<h2 dir="auto">
<a id="user-content-how-reproducible" class="anchor" href="#how-reproducible" aria-hidden="true"></a>How reproducible:</h2>
<p dir="auto">Steps to Reproduce:</p>
<p dir="auto">Run ABI checker on project from 3.6.16 to 3.7.2</p>
<h2 dir="auto">
<a id="user-content-actual-results" class="anchor" href="#actual-results" aria-hidden="true"></a>Actual results:</h2>
<p dir="auto">Const parameter changes in C++ ABI</p>
<h2 dir="auto">
<a id="user-content-expected-results" class="anchor" href="#expected-results" aria-hidden="true"></a>Expected results:</h2>
<p dir="auto">No const parameter changes in C++ ABI</p>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #666;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/1318">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/-/sent_notifications/c05903e3eaedf0ced8ab809f4d0b560c/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/-/issues/1318"}}</script>


</p>
</div>
</body>
</html>