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

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5791: (MinGW) fail to compile asio when c++0x enabled
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-14 08:40:45


#5791: (MinGW) fail to compile asio when c++0x enabled
---------------------------------------------+------------------------------
  Reporter: Jamboree <tongari95@…> | Owner: chris_kohlhoff
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: asio
   Version: Boost 1.47.0 | Severity: Problem
Resolution: wontfix | Keywords:
---------------------------------------------+------------------------------

Comment (by christoffer.green@…):

 Since this page comes up on google for people that have this problem there
 is a better way to solve it other then using -std=gnu++0x. Continue using
 -std=c++11 or -std=c++0x but add -U__STRICT_ANSI__ since the problem is
 that -std=c++11 defines the strict ansi stuff, and the workaround
 -std=gnu++0x does not define it. So we solve it by simply undefining it.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5791#comment:4>
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:11 UTC