[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    New santizer warning in KF 5.98 headers
From:       Michael Reeves <reeves.87 () gmail ! com>
Date:       2023-01-10 21:49:43
Message-ID: CANp6eRnzmi=EvCFkoWDCbkt2kTecXJN0BfhUsJ1_+eWVFkgAcw () mail ! gmail ! com
[Download RAW message or body]

/usr/include/KF5/KConfigWidgets/kstandardaction.h:261:64: runtime error:
load of value 4294967295, which is not a valid value for type
'Qt::ConnectionType'

SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
/usr/include/KF5/KConfigWidgets/kstandardaction.h:261:64 in

The issue stems for assigning an int to a enum which is internally
considered unsigned and possibly smaller than the four byte int. If this is
doing what we expect than I need a way to shut off the warning.

[Attachment #3 (text/html)]

<div dir="ltr"><div>/usr/include/KF5/KConfigWidgets/kstandardaction.h:261:64: \
runtime error: load of value 4294967295, which is not a valid value for \
type &#39;Qt::ConnectionType&#39;</div><div><br></div><div>SUMMARY: \
UndefinedBehaviorSanitizer: undefined-behavior \
/usr/include/KF5/KConfigWidgets/kstandardaction.h:261:64 in \
<br></div><div><br></div><div>The issue stems for assigning an int to a \
enum which is internally considered unsigned and possibly smaller than the \
four byte int. If this is doing what we expect than I need a way to shut \
off the warning.<br></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic