boostorg / test

The reference C++ unit testing framework (TDD, xUnit, C++03/11/14/17)
http://boost.org/libs/test
Boost Software License 1.0
183 stars 140 forks source link

Fix for sprintf deprecation warning #366

Closed mborland closed 1 year ago

mborland commented 1 year ago

Apple Clang 14 warns that sprintf is deprecated. Replace with the new boost::core::snprintf for compatibility with pre-c++11 code, and across toolchains.

NAThompson commented 1 year ago

@raffienficiaud : Might it be possible to give Matt write access to boost.test? He is now in the employ of boost.

raffienficiaud commented 1 year ago

Hi @NAThompson and @mborland ! I was approached by Boost Owners for this matter, there is discussion going on, but so far this is looking good! No problem on my side, I can grant you write access right now. We can also have a chat on the phone if you want.

NAThompson commented 1 year ago

@mborland : Is this ready to merge?

mborland commented 1 year ago

I just got the CI system running so I was going to rebase onto it to ensure that it is good

mborland commented 1 year ago

This is green with MSVC workaround so merging.