<table><tr><td style="">rjvbb edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-bw6rykmlqueqlgb/" rel="noreferrer">(Show Details)</a><br />rjvbb added a reviewer: kfunk.
</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/D5972" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">Qt currently fails to set `QT_NO_EXCEPTIONS` when building with Clang<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> (and thus presumably with ICC too as it apparently masquerades as Clang).</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">. The Clang documentation suggests it should happen across platforms but in practice it seems to happen only when targeting Mac. (ICC apparently masquerades as clang so may be affected too.)</span><br />
<br />
This patch corrects that omission which leads to issues like this one: https://git.reviewboard.kde.org/r/130139/<br />
<br />
I have attempted to add<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">ed</span> the corresponding unsetters to the file and target specific exceptions enabler macros<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">. These changes have the intended effect on the compiler invocation,</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">;</span> <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">I have not double-checked if </span>they<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> also</span> have the intended effect on the <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">actual compil</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">compiler invoc</span>ation.<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R240 Extra CMake Modules</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D5972" rel="noreferrer">https://phabricator.kde.org/D5972</a></div></div><br /><div><strong>To: </strong>rjvbb, Build System, Frameworks, kfunk<br /><strong>Cc: </strong>Frameworks, Build System<br /></div>