Files
zoneminder/utils
Isaac ConnorandClaude Opus 5.5 cadf43f860 fix: teach the SharedData ABI check about SharedValue members refs #5238
#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>
2026-11-04 08:42:28 -05:00
..
2019-06-21 10:19:48 -04:00
2014-01-04 14:45:22 -05:00
2023-08-27 02:00:59 +02:00