mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-11-30 04:04:03 -05:00
#5444 declared SharedData's scalar members as SharedValue<T>. The ABI check lifts the struct body out of zm_monitor.h into a standalone probe, but not the SharedValue template, so those members failed to compile and dropped out. The probe came to 768 bytes and the size and control_state offset asserts failed at -m64, which made the CI Build Warnings job fail on every master PR. The "does not name a type" errors were not printed, because only the static assert lines were. Copy the SharedValue template and its static_asserts into the probe, recognise SharedValue<type> members, and print every compiler error when the probe fails to build. Checked against the current header (888 bytes, 52 members, the same count as before #5444), the header before #5444 (also passes), and a header with capture_fps back to a plain double and epadding1 removed (fails at -m32 with capture_fps at 20). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>