3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-08-06 22:24:15 +00:00
z3/cmake
davedets 86737e11ea
Fix missing field initializers (better). (#9923)
This is another PR towards the goal of getting Z3 to compile cleanly
when included via FetchContents into clang-tidy, which uses a pretty
strict set of warnings.

This one fixes warnings about "missing field initializers" -- struct
initializers that leave some field uninitialized.

In https://github.com/Z3Prover/z3/pull/9904, I tried to do this in the
code. @nunoplopes pointed out flaws with this approach. He outlined a
more ambitious approach to fix the actual problem (use of an "entry"
type when just a "key" type should be sufficient in some places). For
now, though, I think it's doesn't lose anything to just disable the
warning.
2026-06-22 18:48:07 -06:00
..
modules Bump dotnet example target framework from netcoreapp2.0 to net8.0 (#9531) 2026-05-14 15:17:41 -07:00
check_link_atomic.cmake
cmake_uninstall.cmake.in
compiler_lto.cmake
compiler_warnings.cmake Fix missing field initializers (better). (#9923) 2026-06-22 18:48:07 -06:00
cxx_compiler_flags_overrides.cmake
git_utils.cmake Use '--tags' rather than '--long' for git describe. Closes #6823 (#7833) 2025-08-29 14:15:38 -07:00
msvc_legacy_quirks.cmake
target_arch_detect.cmake
target_arch_detect.cpp
z3_add_component.cmake
z3_add_cxx_flag.cmake
z3_append_linker_flag_list_to_target.cmake
Z3Config.cmake.in