Opened 10 years ago
Closed 7 years ago
#7674 closed Bugs (obsolete)
Compile failures in Boost.Test using mingw clang and gcc
Reported by: | Paul A. Bristow | Owned by: | Gennadiy Rozental |
---|---|---|---|
Milestone: | Boost 1.59.0 | Component: | test |
Version: | Boost Development Trunk | Severity: | Optimization |
Keywords: | test clang | Cc: |
Description
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.
Change History (1)
comment:1 by , 7 years ago
Milestone: | Boost 1.53.0 → Boost 1.59.0 |
---|---|
Resolution: | → obsolete |
Status: | new → closed |
Please test this against new release.