[Boost-bugs] [Boost C++ Libraries] #7477: boost:::format will not compile under VC++ without "Microsoft language extensions"

Subject: [Boost-bugs] [Boost C++ Libraries] #7477: boost:::format will not compile under VC++ without "Microsoft language extensions"
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-07 06:09:38


#7477: boost:::format will not compile under VC++ without "Microsoft language
extensions"
---------------------------------------------+------------------------------
 Reporter: Jive Dadson <jdadson@…> | Owner: samuel_krempp
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: format
  Version: Boost 1.51.0 | Severity: Problem
 Keywords: format basic_streambuf throw() |
---------------------------------------------+------------------------------
 Boost::format will not compile under Microsoft VC++ unless Microsoft
 Language Extensions (/Za) are turned OFF. When MS Language Extensions are
 turned ON, the compiler complains because boost overrides some virtual
 functions in std:: classes with functions lacking a "throw()" specifier.
 One of the functions is the destructor ~basic_streambuf().

 I do not know if this is a bug or a misunderstanding on my part. If it is
 a bug, I do not know whether it is on the MS or boost side. However, it
 should be a simple matter to decorate those functions with "throw()." That
 could save someone a lot of trouble.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7477>
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:10 UTC