The tree predates modern compilers. Evidence from downstream forks of this exact code family:
#elifndef (C++23-only directive) in src/core/CdStream_posix.cpp — breaks every non-C++23 compiler (mrxenginner/reVC#47)
uint8* → uint8[33] array assignment rejected by modern GCC in the glfw skeleton (mrxenginner/reVC#12/#15, fix#18)
Missing #include <cstdint> (GCC 13+ removed the transitive include) — documented failure class in comparable C++ projects
Old premake binaries (premake5Linux is 5.0.0-dev) fail on newer premake APIs like os.hostarch() (mrxenginner/reVC#44/#45)
What to do
Measure first: build master in the re3dev container (Ubuntu 24.04 / GCC 13) and record every error + warning category. Attach the log digest to this issue.
Fix the actual failures with minimal, style-conforming patches (missing includes, array assignments). Genuinely new behavior must go behind FIX_BUGS/platform guards per project policy.
If baseline is red, this issue is a blocker for CI (the workflow will fail) and escalates in priority.
Acceptance
Clean configure+build with GCC 13 (RelWithDebInfo, GL3+OpenAL).
Stretch: also builds under GCC 16 (host compiler) without new errors.
No -Werror introduced yet; fixes are compile-correctness only.
## Context
The tree predates modern compilers. Evidence from downstream forks of this exact code family:
- `#elifndef` (C++23-only directive) in `src/core/CdStream_posix.cpp` — breaks every non-C++23 compiler (mrxenginner/reVC#47)
- `uint8*` → `uint8[33]` array assignment rejected by modern GCC in the glfw skeleton (mrxenginner/reVC#12/#15, fix #18)
- Missing `#include <cstdint>` (GCC 13+ removed the transitive include) — documented failure class in comparable C++ projects
- Old premake binaries (`premake5Linux` is 5.0.0-dev) fail on newer premake APIs like `os.hostarch()` (mrxenginner/reVC#44/#45)
## What to do
1. Measure first: build `master` in the `re3dev` container (Ubuntu 24.04 / GCC 13) and record every error + warning category. Attach the log digest to this issue.
2. Fix the actual failures with minimal, style-conforming patches (missing includes, array assignments). Genuinely new behavior must go behind `FIX_BUGS`/platform guards per project policy.
3. If baseline is red, this issue is a **blocker** for CI (the workflow will fail) and escalates in priority.
## Acceptance
- Clean configure+build with GCC 13 (RelWithDebInfo, GL3+OpenAL).
- Stretch: also builds under GCC 16 (host compiler) without new errors.
- No `-Werror` introduced yet; fixes are compile-correctness only.
opencode
added this to the M4: Toolchain & language modernization milestone 2026-11-29 00:14:15 +00:00
Baseline measured — this is NOT currently a blocker.
master at 5c86592e builds cleanly in the re3dev container (Ubuntu 24.04, GCC 13.3.0, cmake 3.28.3):
Configure: OK, all options recognized (RE3_AUDIO=OAL, RE3_VENDORED_LIBRW, LIBRW_PLATFORM=GL3, LIBRW_GL3_GFXLIB=GLFW)
Build: 0 errors, 296/296 targets, ~24 MiB ELF64 binary at /build/src/re3, 14 s wall time on 12 cores.
The GCC-13 breakage classes documented downstream (#elifndef, uint8[33] assignments) are not present in our tree — they were introduced in post-takedown forks, not in this snapshot.
Remaining scope for this issue: (a) GCC 16 host-compiler pass, (b) Clang pass, (c) keeping it that way. Downgraded from CI-blocker.
**Baseline measured — this is NOT currently a blocker.**
`master` at `5c86592e` builds cleanly in the re3dev container (Ubuntu 24.04, **GCC 13.3.0**, cmake 3.28.3):
- Configure: OK, all options recognized (`RE3_AUDIO=OAL`, `RE3_VENDORED_LIBRW`, `LIBRW_PLATFORM=GL3`, `LIBRW_GL3_GFXLIB=GLFW`)
- Build: **0 errors, 296/296 targets**, ~24 MiB ELF64 binary at `/build/src/re3`, **14 s** wall time on 12 cores.
The GCC-13 breakage classes documented downstream (`#elifndef`, `uint8[33]` assignments) are **not present in our tree** — they were introduced in post-takedown forks, not in this snapshot.
Remaining scope for this issue: (a) GCC 16 host-compiler pass, (b) Clang pass, (c) keeping it that way. Downgraded from CI-blocker.
miami (reVC) also measured — green.a16fcd8d in the same container pattern (re3dev-miami, GCC 13.3): 0 errors, 310/310 targets, ~30.6 MiB reVC binary in 21 s. Option prefix differs (REVC_*, target reVC) — details on issue #3. So neither branch carries the downstream GCC-13 breakage classes; remaining scope here is GCC 16/Clang only.
**miami (reVC) also measured — green.** `a16fcd8d` in the same container pattern (re3dev-miami, GCC 13.3): 0 errors, 310/310 targets, ~30.6 MiB `reVC` binary in 21 s. Option prefix differs (`REVC_*`, target `reVC`) — details on issue #3. So neither branch carries the downstream GCC-13 breakage classes; remaining scope here is GCC 16/Clang only.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Context
The tree predates modern compilers. Evidence from downstream forks of this exact code family:
#elifndef(C++23-only directive) insrc/core/CdStream_posix.cpp— breaks every non-C++23 compiler (mrxenginner/reVC#47)uint8*→uint8[33]array assignment rejected by modern GCC in the glfw skeleton (mrxenginner/reVC#12/#15, fix #18)#include <cstdint>(GCC 13+ removed the transitive include) — documented failure class in comparable C++ projectspremake5Linuxis 5.0.0-dev) fail on newer premake APIs likeos.hostarch()(mrxenginner/reVC#44/#45)What to do
masterin there3devcontainer (Ubuntu 24.04 / GCC 13) and record every error + warning category. Attach the log digest to this issue.FIX_BUGS/platform guards per project policy.Acceptance
-Werrorintroduced yet; fixes are compile-correctness only.Baseline measured — this is NOT currently a blocker.
masterat5c86592ebuilds cleanly in the re3dev container (Ubuntu 24.04, GCC 13.3.0, cmake 3.28.3):RE3_AUDIO=OAL,RE3_VENDORED_LIBRW,LIBRW_PLATFORM=GL3,LIBRW_GL3_GFXLIB=GLFW)/build/src/re3, 14 s wall time on 12 cores.The GCC-13 breakage classes documented downstream (
#elifndef,uint8[33]assignments) are not present in our tree — they were introduced in post-takedown forks, not in this snapshot.Remaining scope for this issue: (a) GCC 16 host-compiler pass, (b) Clang pass, (c) keeping it that way. Downgraded from CI-blocker.
miami (reVC) also measured — green.
a16fcd8din the same container pattern (re3dev-miami, GCC 13.3): 0 errors, 310/310 targets, ~30.6 MiBreVCbinary in 21 s. Option prefix differs (REVC_*, targetreVC) — details on issue #3. So neither branch carries the downstream GCC-13 breakage classes; remaining scope here is GCC 16/Clang only.