<div dir="ltr">Thanks. I would say your right there this would definitely have caught someone's attention if didn't work in practice with what kde needs. Santizers are by design quite pedantic as serves there purpose well.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 10, 2023 at 5:34 PM Albert Astals Cid <<a href="mailto:aacid@kde.org">aacid@kde.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">El dimarts, 10 de gener de 2023, a les 22:49:43 (CET), Michael Reeves va <br>
escriure:<br>
> /usr/include/KF5/KConfigWidgets/kstandardaction.h:261:64: runtime error:<br>
> load of value 4294967295, which is not a valid value for type<br>
> 'Qt::ConnectionType'<br>
> <br>
> SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior<br>
> /usr/include/KF5/KConfigWidgets/kstandardaction.h:261:64 in<br>
> <br>
> The issue stems for assigning an int to a enum which is internally<br>
> considered unsigned and possibly smaller than the four byte int. If this is<br>
> doing what we expect than I need a way to shut off the warning.<br>
<br>
That code has been there since May last year, so not exactly "new".<br>
<br>
Given it doesn't seem to be crashing it would seem it's one of those "undefined <br>
but it works in all the compilers we care about".<br>
<br>
Of course patches to make the sanitizer are really welcome :)<br>
<br>
Cheers,<br>
  Albert<br>
<br>
<br>
<br>
</blockquote></div>