[Boost-bugs] [Boost C++ Libraries] #7674: Compile failures in Boost.Test using mingw clang and gcc

Subject: [Boost-bugs] [Boost C++ Libraries] #7674: Compile failures in Boost.Test using mingw clang and gcc
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-09 17:06:23


#7674: Compile failures in Boost.Test using mingw clang and gcc
-------------------------------------+--------------------------------------
 Reporter: pbristow | Owner: rogeeff
     Type: Bugs | Status: new
Milestone: Boost 1.53.0 | Component: test
  Version: Boost Development Trunk | Severity: Optimization
 Keywords: test clang |
-------------------------------------+--------------------------------------
 Compiling Boost.Test using NetBeans IDE and minggw32 gcc and Clang (and VS
 10) compilers I foudn some failures.

 I was building a dll with all the components (perhaps some are not
 normally used?)

 (Don't ask why I wasn't using b2! Grrrrr!)

 Using Boost-trunk I found two compile failures

 1 in config_file_iterator.cpp

 I needed to add

 #include <boost/noncopyable.hpp>

 so that noncopyable was found,

 2 in config_file.cpp, a missing 3rd parameter was reported:

   assign_op( p_name.value, name );

 needed to be

   assign_op( p_name.value, name, 0 ); // But this might wrong?

 3 template<typename T>
 struct is_named_params : public mpl::false_ {};

 added #include <boost/mpl/bool.hpp>


 template<typename T>
 variable<T>::variable( cstring var_name )
 : variable_base( environment::var<T>( var_name ) )
 {}

 4 in variable.hpp

 I replaced var<T> by variable<T>

 in config_file_iterator.cpp an undefined function erase

 erase(name); I just commented out to get it to compile and build at least.

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