You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CMake: mark reflectcpp PUBLIC include directories as SYSTEM to avoid leaking third-party warnings #111
reflectcpp's CMake target exports PUBLIC include directories without the SYSTEM keyword, causing vendored/third-party headers (yyjson.h, enchantum) to leak compiler warnings into downstream consumers compiled with strict warning flags.
Evidence
Surfaced in osmium-tool (exp/gp-osmium-tool) and solidity (exp/gp-solidity) Showcase Migrations under strict warning flags (Lane 1):
406-Wold-style-cast warnings from yyjson.h
-Wnewline-eof warnings from enchantum
Acceptance Criteria
Mark third-party / consumer-facing PUBLIC include directories on the reflectcpp CMake target with SYSTEM (preserving non-SYSTEM warnings for reflect-cpp's own development/tests if desired).
Verify downstream builds with -Wold-style-cast -Wnewline-eof -Werror compile cleanly without suppressing warnings globally.
Activity
clockblocker commentedon Nov 27, 2026
Duplicate of CMake: export reflectcpp and pugixml include directories as SYSTEM (broader scope covering both
reflectcppand transitivepugixml::pugixmlincludes;osmium-tool/soliditywarning evidence merged there).