<table><tr><td style="">ahunt 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/D4255" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Not quite sure where to post this (sorry, I'm new here...):</p>
<p>This commit causes the following build failure for me (the issue goes away once I revert this commit).</p>
<p>[ 25%] Building CXX object src/CMakeFiles/KF5Libkleo.dir/models/useridlistmodel.cpp.o<br />
In file included from /home/ahunt/kdesrc/kde/pim/libkleo/src/kleo/enum.cpp:39:0:<br />
/usr/include/gpgme++/tofuinfo.h:39:41: error: expected ‘)’ before ‘info’</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">explicit TofuInfo(gpgme_tofu_info_t info);
^</pre></div>
<p>/home/ahunt/kdesrc/kde/pim/libkleo/src/kleo/enum.cpp: In function ‘Kleo::TrustLevel Kleo::trustLevel(const GpgME::UserID&)’:<br />
/home/ahunt/kdesrc/kde/pim/libkleo/src/kleo/enum.cpp:305:17: error: ‘const class GpgME::UserID’ has no member named ‘tofuInfo’</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">if (uid.tofuInfo().isNull()) {
^</pre></div>
<p>/home/ahunt/kdesrc/kde/pim/libkleo/src/kleo/enum.cpp:309:21: error: ‘const class GpgME::UserID’ has no member named ‘tofuInfo’</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">switch (uid.tofuInfo().validity()) {
^</pre></div>
<p>[ 26%] Building CXX object src/CMakeFiles/KF5Libkleo.dir/utils/filesystemwatcher.cpp.o</p>
<p>I've got no idea why this is happening - the headers look like valid C++, so maybe one of the prior libkleo includes is causing some issues. I'll try to spend some more time debugging tomorrow.</p>
<p>I'm building against gpgmepp 1.8.0, on openSuse, the rest of the kde modules I'm building (messagelib and kdepim, which seem to pull in libkleo as a dependency) build fine.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R90 PIM: Kleo Library</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4255" rel="noreferrer">https://phabricator.kde.org/D4255</a></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>dvratil, aheinecke<br /><strong>Cc: </strong>ahunt, knauss, KDE PIM, dvasin, winterz, vkrause, mlaurent, dvratil<br /></div>