Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3a0c989e125469bfc2da86e7a3b64c5a13bed4d0
      
https://github.com/WebKit/WebKit/commit/3a0c989e125469bfc2da86e7a3b64c5a13bed4d0
  Author: Diego Pino Garcia <[email protected]>
  Date:   2026-09-16 (Wed, 16 Sep 2026)

  Changed paths:
    M Tools/TestWebKitAPI/glib/CMakeLists.txt

  Log Message:
  -----------
  [WPE] Build fix for Ubuntu 24.04 after 321210@main
https://bugs.webkit.org/show_bug.cgi?id=324287

Reviewed by Carlos Alberto Lopez Perez.

Changeset 321210@main added <concepts> header to 'Assertions.h'.

After this change, the Ubuntu 24.04 post-commit build bot started failing
during the compilation of 'WPEQtTest.cpp' file. This file is marked as
"AUTOMOC ON" in 'Tools/TestWebKitAPI/glib/CMakeLists.txt'. When that happens,
CMake's AUTOMOC machinery runs the 'moc' tool to parse the file target file
('WPEQtTest.cpp'), which now includes <concepts> header by transitivity.

The 'moc' tool is a simplified preprocessor parser. While parsing the <concepts>
header, it chokes at statement 'namespace std _GLIBCXX_VISIBILITY(default)'
(moc preprocessor cannot expand '_GLIBCXX_VISIBILITY' macro and it fails).

The missing macro was defined in Qt version 6.5.3. Work around compilation
error by defining macro '_GLIBCXX_VISIBILITY' for Qt versions lower than
that.

* Source/WTF/wtf/Assertions.h:

Canonical link: https://commits.webkit.org/321284@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to