Repository navigation
build(frontend-tools): state the two conversions the app lanes stop on (#2625, #2938) - #2968
Merged
Merged
Conversation
This was referenced Oct 29, 2026
#2625, #2938) master's app builds fail in `plugins/frontend-tools/scripts.cpp.hpp`, the target #2959 ratcheted onto the conversion groups without replaying this unity TU: Ubuntu (gcc): 174: int64_t -> int [-Werror=conversion] 204: size_t -> difference_type [-Werror=sign-conversion] macOS (AppleClang): 204: size_t -> difference_type [-Werror,-Wsign-conversion] Both name the conversion the compiler already performs: `static_cast<int>` on the config row (the same cast #2959 used for the switcher's interval) and `static_cast<std::ptrdiff_t>` at the iterator offset (the idiom `auto-scene-switcher.cpp.hpp:41` already uses in this target). Refs #2625, Refs #2938.
zackees
force-pushed
the
fix/2625-frontend-tools-scripts-conversions
branch
from
October 29, 2026 23:35
999f02d to
f27045c
Compare
Member
Author
|
App-lane evidence from
Rebased onto master |
zackees
enabled auto-merge
October 29, 2026 23:35
zackees
commented
Oct 29, 2026
zackees
left a comment
Member
Author
There was a problem hiding this comment.
Coordinator review.
Verified against the branch head (81abbbb):
- The two conversions are the ones the app lanes stop on:
config_get_intreturns anint64_tinto anint row, andQList::iterator + itakes aqsizetype. Bothstatic_casts are the correct, warning-silencing form; neither changes the value (prevScriptRowis written as an int row,iis asize_tbounded byscripts.size()). - Only
plugins/frontend-tools/scripts.cpp.hppremains in the diff (2+/2-), so the abandoned71ac6a6is gone. plugins/frontend-toolsstays ratcheted: no-Wno-flag and no target change in the diff.- The Windows
Build 🧱 / Windows 🪟 (x64)failure on the branch dispatch is not this PR: it is theplugins/obs-qsv11/obs-qsv11.c.hC4310 from #2965, reported as #2966 and fixed in #2969. Linux app lanes and Rust cross lint are green on this head.
Nothing to change from me. The PR is ready once the asan sanitize lane finishes; I will queue it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
master's app builds are red on the two sites
plugins/frontend-tools/scripts.cpp.hppcarries, and #2959's ratchet is why they surface now: the target names the three
conversion groups while this unity TU still let the pins hide them.
RED — the scheduled run on master
Scheduled(40970380763, master217b3cf08):Build 🧱 / Ubuntu 🐧 (OBS-Studio-Rust)scripts.cpp.hpp:174:33int64_t->intmay change value[-Werror=conversion]Build 🧱 / Ubuntu 🐧 (OBS-Studio-Rust)scripts.cpp.hpp:204:81size_t->difference_typemay change the sign[-Werror=sign-conversion]Build 🧱 / Flatpak 📦Build 🧱 / macOS 🍏 (arm64)scripts.cpp.hpp:204size_t->difference_type[-Werror,-Wsign-conversion]GREEN —
999f02d55Two
static_casts, each the conversion the compiler already performs, both theidiom the same target already uses:
int row = static_cast<int>(config_get_int(...))— the switcher's intervalconversion from build(frontend-tools): ratchet the target onto the conversion groups (#2625) #2959 (
auto-scene-switcher.cpp.hpp:354).scripts.begin() + static_cast<std::ptrdiff_t>(i)—auto-scene-switcher.cpp.hpp:41in this same target.
No value change, no flag or target change;
plugins/frontend-toolsstaysratcheted.
Evidence
clang-format --dry-run --Werroron the edited file: clean.scripts.cpp.hppis not possible in aENABLE_SCRIPTING=OFFtree (that is how build(frontend-tools): ratchet the target onto the conversion groups (#2625) #2959 missed it), so the confirmation is the app lanes:
scheduled.yamldispatched on this branch, results commented here.Refs #2625, Refs #2938.