Opened 8 years ago

Closed 8 years ago

#10745 closed Bugs (fixed)

security warnings when building applications with the boost::logv2 library

Reported by: Georg Kellerer <georg.kellerer@…> Owned by: Andrey Semashev
Milestone: Boost 1.57.0 Component: log
Version: Boost 1.57.0 Severity: Cosmetic
Keywords: security warning Cc:

Description

whenn I build my application with Visual Studio 2010 and Boost V1.5.7.0 i get a security warning every time the logging framework is used: 5>C:\dev\boost_1_57_0\boost/log/detail/snprintf.hpp(54): warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 5>C:\dev\boost_1_57_0\boost/log/detail/snprintf.hpp(66): warning C4996: '_vsnwprintf': This function or variable may be unsafe. Consider using _vsnwprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

Change History (1)

comment:1 by Andrey Semashev, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.