[Boost-bugs] [Boost C++ Libraries] #5791: (MinGW) fail to compile asio when c++0x enabled

Subject: [Boost-bugs] [Boost C++ Libraries] #5791: (MinGW) fail to compile asio when c++0x enabled
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-08-18 08:51:44


#5791: (MinGW) fail to compile asio when c++0x enabled
--------------------------------------------+-------------------------------
 Reporter: Jamboree <tongari95@…> | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
--------------------------------------------+-------------------------------
 After including <boost/asio.hpp> I got the error:
 [[BR]]

 boost_1_47_0/boost/asio/detail/impl/win_static_mutex.ipp:51:63: error:
 'swprintf' was not declared in this scope
 [[BR]]

 Without -std=c++0x, it compiles fine, I use g++4.5.2/MinGW on XP
 SP3.[[BR]]
 This causal file seems to be shipped with the new signal_set feature.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5791>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC