mirror of
https://github.com/boostorg/exception.git
synced 2025-07-16 05:52:14 +02:00
Replacing the use of <iomanip> with <boost/detail/iomanip.hpp> across Boost.
On Linux, GNU's libstdc++, which is the default stdlib for icc and clang, cannot parse the <iomanip> header in version 4.5+ (which thankfully neither compiler advises the use of yet), as it's original C++98-friendly implementation has been replaced with a gnu++0x implementation. <boost/detail/iomanip.hpp> is a portable implementation of <iomanip>, providing boost::detail::setfill, boost::detail::setbase, boost::detail::setw, boost::detail::setprecision, boost::detail::setiosflags and boost::detail::resetiosflags. [SVN r68140]
This commit is contained in:
@ -30,6 +30,10 @@ error1:
|
||||
std::exception,
|
||||
boost::exception
|
||||
{
|
||||
#if defined(__PATHSCALE__)
|
||||
~error1() throw() {}
|
||||
#endif
|
||||
|
||||
char const *
|
||||
what() const throw()
|
||||
{
|
||||
@ -41,6 +45,9 @@ struct
|
||||
error2:
|
||||
boost::exception
|
||||
{
|
||||
#if defined(__PATHSCALE__)
|
||||
~error2() throw() {}
|
||||
#endif
|
||||
};
|
||||
|
||||
struct
|
||||
@ -52,6 +59,9 @@ error3:
|
||||
{
|
||||
return "error3";
|
||||
}
|
||||
#if defined(__PATHSCALE__)
|
||||
~error3() throw() {}
|
||||
#endif
|
||||
};
|
||||
|
||||
struct
|
||||
@ -64,6 +74,9 @@ error4:
|
||||
{
|
||||
return diagnostic_information_what(*this);
|
||||
}
|
||||
#if defined(__PATHSCALE__)
|
||||
~error4() throw() {}
|
||||
#endif
|
||||
};
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user