Update deprecated declarations for Windows

This patch fixes some deprecation warnings on Windows 10 caused by usage of deprecated APIs and re-enables deprecation warnings on all windows platforms

For context, the previous configuration of the jsoncpp_config erroneously applied the "-Wno-deprecated-declarations" flag to
whatever components consume it. This allowed for deprecated
usages of methods like get_Longitude and get_Latitude.

Bug: 1394429
Change-Id: I9dce4a1af3a5216df3c7b03737413cef3431f89e
Low-Coverage-Reason: HR checks.
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4072167
Reviewed-by: Mark Foltz <[email protected]>
Commit-Queue: Jordan Bayles <[email protected]>
Reviewed-by: Scott Violet <[email protected]>
Reviewed-by: Matt Reynolds <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1110645}
NOKEYCHECK=True
GitOrigin-RevId: 98547a0f30f76119a68757298174fa264e155bda
1 file changed