id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 2630, won't compile with MinGW 3.4.5,Attila Oláh ,chris_kohlhoff,"My file looks like this: {{{ #include using namespace std; int main () { return 0; } }}} and I issue a compile in msys like this: {{{ $ g++ test.cpp -D_WIN32_WINNT }}} and I get the following error: {{{ In file included from test.cpp:1: c:/dev/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/boost/asio/detail/win_thread.hpp: In static member function `static bool boost::asio::detail::win_thread_base::terminate_threads()': c:/dev/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/boost/asio/detail/win_thread.hpp:55: error: `::InterlockedExchangeAdd' has not been declared c:/dev/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/boost/asio/detail/win_thread.hpp: In static member function `static void boost::asio::detail::win_thread_base::set_terminate_threads(bool)': c:/dev/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/boost/asio/detail/win_thread.hpp:60: error: `::InterlockedExchange' has not been declared }}} ",Bugs,closed,Boost 1.38.0,asio,Boost 1.37.0,Problem,worksforme,"windows, mingw",jolafix@…