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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to