Repository navigation
Conversation
The macOS lanes stop in Qt's own headers with -Wsign-conversion: <QtCore/qversiontagging.h>:80 int -> quintptr <QtCore/qnamespace.h>:1926,1930 Int <-> int (QKeyCombination) <QtCore/qnamespace.h>:1935 const int -> unsigned int They are third-party code, and the Ninja lanes never report them: an imported target's INTERFACE_INCLUDE_DIRECTORIES arrive as system includes. The Xcode generator has no -isystem -- Modules/Platform/Darwin.cmake clears CMAKE_INCLUDE_SYSTEM_FLAG_C and _CXX when XCODE is set -- so there the same directories arrive as plain -I and the ratchet's group flag applies to them. obs_frontend_platform_qt() now passes the Qt include directories to clang as -isystem for the app target. A header counts as a system header when any -isystem path finds it, even when -I lists the directory too, so CMake's own -I is harmless. The shared ui-qt.cmake keeps no host branch (ci/ test_frontend_cmake_facade.py). RED: scheduled.yaml run 40983897736, Build macOS (arm64) job 123830620422. GREEN: the same dispatch on this branch.
7788381 to
67e03fe
Compare
|
Closed: the -isystem route did not clear the macOS lane (run 40992591865, job 123858373923 still reports the Qt diagnostics). Evidence and the two remaining options are on #2950. 2026-10-30 |
|
Third GREEN attempt still reports the same six diagnostics, and the cause is now measured rather than assumed. What the three dispatches showed
So the flags do reach the compiler: Why the system flag still losesReproduced with clang 21 on a synthetic bundle: Framework lookup is first-match, unlike Decision neededThe app target opts into
Tell me which, and if it is (1) I will push the one-line scope change plus the ledger note and re-run this dispatch. |
Refs #2950
The macOS lanes stop inside Qt's own inline code, not in this repo:
Those are third-party headers, and the Ninja lanes stay quiet on them because an
imported target's
INTERFACE_INCLUDE_DIRECTORIESarrive as system includes. TheXcode generator has no
-isystem:Modules/Platform/Darwin.cmakeclearsCMAKE_INCLUDE_SYSTEM_FLAG_Cand_CXXunderXCODE("Xcode does not support-isystem yet"). So the Qt prefix reaches the app's TUs as plain
-Iand the-Wsign-conversionthe target opts into (#2625) applies to Qt's headers too.This passes the Qt include directories to clang as
-isystemforobs-studioon macOS, so the
#2625ratchet keeps applying to obs code while third-partyheaders stay quiet — the treatment Linux already gets. No source conversion, no
flag pin: the target's opt-in line is untouched, and
ci/test_frontend_conversion_optins.pystill holds it to that shape.A header is a system header when any
-isystempath finds it, even when-Ilists the same directory (checked with clang 19 on 2026-10-29:
-I dir -isystem dirsuppresses the warning,-I diralone does not), so CMake's own-Icopyis harmless.
RED:
scheduled.yamlrun 40983897736,Build 🧱 / macOS 🍏 (arm64)job 123830620422 — the five diagnostics above, afterCompiling frontend.sparkle+.hpp.cpp.GREEN: the same
scheduled.yamldispatch on this branch (macOS arm64 lane pastfrontend.sparkle+.hpp.cpp, x86_64 and the release gate to be rechecked if arm64 is clean).Tiers that do not apply: no Rust unit, C test, protocol or runtime behaviour
change — a build-configuration fix, and the touched line is behind
OS_MACOS.