boostorg / system

Boost.org system module
http://boost.org/libs/system
35 stars 86 forks source link

stack-protector warnings should be addressed #34

Closed BrannonKing closed 5 years ago

BrannonKing commented 5 years ago

I see a lot of this warning when cross-compiling (with a recent build of MinGW):

/home/me/Workspace/e/bitcoin/depends/x86_64-w64-mingw32/include/boost/system/detail/system_category_win32.hpp:71:21: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]
 inline char const * system_category_message_win32( int ev, char * buffer, std::size_t len ) BOOST_NOEXCEPT
pdimov commented 5 years ago

I've removed the use of alloca, so this warning should no longer appear. Currently the fix is in the master and develop branches, and will be in 1.70.