[Development] 64-bit QFlags support

Thiago Macieira thiago.macieira at intel.com
Tue Aug 20 17:34:03 CEST 2024


On Monday 19 August 2024 15:59:15 GMT-7 Thiago Macieira wrote:
> I replaced the use of std::array with plain arrays. It's now passed with a
> full precheck, even on INTEGRITY. Please review the series.

GHS compiler bug:

"/home/qt/work/qt/qtbase/src/corelib/kernel/qtmochelpers.h", line 235: note 
#3327-D:
          cannot call non-constexpr function "QtMocHelpers::EnumData<Enum, 
          N>::EnumData() [with Enum=QSystemSemaphore::AccessMode, N=4]"
          (declared at line 217 of "/home/qt/work/qt/qtbase/src/corelib/
kernel/qtmochelpers.h")

Unfortunately, the function it is complaining about is
    constexpr EnumData() = default;

So it's obviously constexpr and yet this compiler thinks it isn't. Someone 
please report it to Green Hiils.

Fortunately for it, I found another mistake of mine on that line, so I'll end 
up removing this constructor anyway.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Principal Engineer - Intel DCAI Platform & System Engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5152 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20240820/cd4d7cbc/attachment.bin>


More information about the Development mailing list