conditional compilation: We decided to leave it as it is. It's too much work to modify the entire build in order to to prevent these definitions from leaking to Swift. Swift itself doesn't have a way to suppress warnings, so we'll live with it.
ld warning: updating to latest os and toolchain versions resolves this
There are two warning types with about 20 instances:
warning: conditional compilation flags do not have values in Swift; they are either present or absent
ld: warning: object file (<objfile>) was built for newer 'macOS' version (14.6) than being linked (14.0)
Find out the significance of these and deal with them somehow (silence or fix)