[MacPorts] #66632: ismrmrd @1.13.1: error: 'sprintf' is deprecated
MacPorts
noreply at macports.org
Thu Jan 5 20:05:14 UTC 2023
#66632: ismrmrd @1.13.1: error: 'sprintf' is deprecated
------------------------+----------------------
Reporter: ryandesign | Owner: eborisch
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Keywords: ventura | Port: ismrmrd
------------------------+----------------------
https://build.macports.org/builders/ports-
13_x86_64-builder/builds/10735/steps/install-port/logs/stdio
{{{
In file included from
/opt/local/libexec/boost/1.76/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from
/opt/local/libexec/boost/1.76/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/local/libexec/boost/1.76/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21:
error: 'sprintf' is deprecated: This function is provided for
compatibility reasons only. Due to security concerns inherent in the
design of sprintf(3), it is highly recommended that you use snprintf(3)
instead. [-Werror,-Wdeprecated-declarations]
sprintf(begin,
^
}}}
Perhaps this problem is already fixed in a newer version of boost?
Alternately, modify the build so it does not use `-Werror`.
--
Ticket URL: <https://trac.macports.org/ticket/66632>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list