Opened 23 months ago
Closed 22 months ago
#66632 closed defect (fixed)
ismrmrd @1.13.1: error: 'sprintf' is deprecated
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | eborisch (Eric A. Borisch) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | ventura | Cc: | |
Port: | ismrmrd |
Description
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
.
Change History (2)
comment:1 Changed 23 months ago by kencu (Ken)
comment:2 Changed 22 months ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
https://developer.apple.com/forums/thread/714675
we might see many ports that build with Werror fail, as sprintf has not been deprecated in the standard.