[interprocess] BOOST_NO_SWPRINTF not honored...
9 Mar
2015
9 Mar
'15
1:27 p.m.
This might seem pedantic, but with Microsoft's compilers magnify this issue a bit. boost/interprocess/detail/win32_api.hpp, line 2255 (as of boost 1.57) uses std::sprintf even when BOOST_NO_SWPRINTF is defined. This causes a problem for some folks (like me), as VC++ 2013 (and possibly other Microsoft compilers) have set a pragma deprecating this function, which leads to outright compiler errors when compiled with #pragma strict_gs_check(on), as is required in some environments who are picky about security. I confess, I have not checked to see if interprocess still does this in the latest code, but if it doesn't, I wonder if it could use an alternative (Microsoft recommends sprintf_s, but you might know of something better). - Trey
3534
Age (days ago)
3534
Last active (days ago)
0 comments
1 participants
participants (1)
-
Joseph Van Riper