Skip to content

crashpad_client: add missing <cstdint> for gcc-16 - #50

Merged
kryksyh merged 1 commit into
musescore:mainfrom
luapmartin:fix-crashpad-cstdint-gcc16
Sep 17, 2026
Merged

kryksyh merged 1 commit into
musescore:mainfrom
luapmartin:fix-crashpad-cstdint-gcc16

Conversation

@luapmartin

@luapmartin luapmartin commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Related to audacity/audacity#12178 (gcc-16 header fixes for Audacity's own src/). While verifying that PR I found this separate gcc-16 failure in the vendored crashpad_client dependency:

crashpad/util/file/filesystem.h:119:1: error: 'uint64_t' does not name a type

filesystem.h uses uint64_t without including <cstdint>, relying on transitive inclusion that gcc-16's stricter libstdc++ header pruning removed - same class of fix as nyquist's existing 0026-...-use-cstdint-instead-of-manually-defining.patch and dump_syms's 0001-memory-allocator-needs-cstddef.patch.

Verified: with this patch, gcrashpad builds clean under gcc-16 (0 errors, full link). Without it, ninja gcrashpad fails exactly as above.

  • Built gcrashpad from scratch (patch applied via the real DEP_PATCHES pipeline, not a manual edit) with gcc-16.0.1 in a Linux container

Upstream: reported at https://issues.chromium.org/issues/562705535 (crashpad main still lacks the include). Sentry carries the same one-liner: getsentry/crashpad@bd3f93d. The patch follows Chromium include order so it matches what would land upstream.

@luapmartin
luapmartin force-pushed the fix-crashpad-cstdint-gcc16 branch from f13eae6 to 84cc5a9 Compare September 17, 2026 07:53
filesystem.h uses uint64_t without including it, relying on transitive
inclusion via <time.h>/other headers that gcc-16's stricter libstdc++
header pruning removed.
@luapmartin
luapmartin force-pushed the fix-crashpad-cstdint-gcc16 branch from 84cc5a9 to 69cc521 Compare September 17, 2026 08:42
@kryksyh
kryksyh merged commit 436c667 into musescore:main Sep 17, 2026
1 check passed
@kryksyh
kryksyh deleted the fix-crashpad-cstdint-gcc16 branch September 17, 2026 12:20
luapmartin added a commit to audacity/audacity that referenced this pull request Sep 30, 2026
Resolves: part of #12247 — complements
#12189

Unity ON has two real failures in `src/`:

- `nyquistpromptloader.cpp`: missing includes for `NyquistPromptEffect`,
`NyquistPromptViewModelFactory`, `QQmlEngine`/`QJSEngine`,
`au3::wxToString`
- `themespagemodel.h`: missing `translation.h` for `muse::qtrc`

_(A separate, unrelated gcc-16 failure in vendored `crashpad_client` is
fixed in musescore/muse_deps#50.)_

- [x] I signed [CLA](https://www.audacityteam.org/cla/)
- [ ] This PR includes AI assistance
- [ ] If the PR is AI-assisted, I have read, understood and complied
with the [guidelines for AI-assisted
contributions](https://github.com/audacity/audacity/blob/master/AI_POLICY.md)
- [x] The title of the pull request describes an issue it addresses
- [x] If changes are extensive, then there is a sequence of easily
reviewable commits
- [x] Each commit's message describes its purpose and effects
- [x] There are no behavior changes unnecessary for the stated purpose
of the PR

Recommended:
- [x] Each commit compiles and runs on my machine without known
undesirable changes of behavior
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants