diff options
author | Patrick Luby <patrick.luby@collabora.com> | 2023-02-02 17:21:56 -0500 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2023-02-09 17:58:53 +0000 |
commit | 88e1e8fb06180fe070aaf0065d9c3403b477cfd7 (patch) | |
tree | 36a879ce7699d9a49b13b007be2148e81bbd698c /uui | |
parent | 57a50adb0100c64834c1eec0b83fee5c59ce512a (diff) |
Fix build errors by suppressing warnings when building with Xcode 14.2
Apple started marking sprintf as deprecated in Xcode 14 so we need to
suppress the deprecated warnings in order to build on iOS and macOS
with Xcode 14 and higher.
This also fixes the inability to open documents in the iOS app. Loading
a document would fail to load the following symbols:
com_sun_star_xml_crypto_SEInitializer_get_implementation
com_sun_star_security_DocumentDigitalSignatures_get_implementation
The problem was that these symbols are within an #if HAVE_FEATURE_NSS
block in the generated workdir/CustomTarget/ios/native-code.h so we need
to add an #include <config_crypto.h> in solenv/bin/native-code.py like
was added in commit fa5db38ae5bbe9abfd41b6765074ca1200b8def2.
Change-Id: I541279eb307e5a9d589e3b39c684a49bf8cca14d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146536
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Patrick Luby <plubius@neooffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'uui')
0 files changed, 0 insertions, 0 deletions