Opened 11 years ago
Last modified 10 years ago
#6772 new Bugs
Regression on Sandia-gcc-4.3.4_0x when refactoring base_from_member code for T&&
Reported by: | viboes | Owned by: | Daniel Wallin |
---|---|---|---|
Milestone: | To Be Determined | Component: | utility |
Version: | Boost Development Trunk | Severity: | Showstopper |
Keywords: | Cc: | vicente.botet@… |
Description
Since the introduction of
svn log boost/utility/base_from_member.hpp
r77046 | dlwalker | 2012-02-17 02:55:33 +0100 (Ven, 17 fév 2012) | 1 line
Fixed (hopefully) conflict between boost::base_from_member's C++11 constructor template and the automatically defined non-template copy- and/or move-constructors.
r76982 | dlwalker | 2012-02-11 19:27:02 +0100 (Sam, 11 fév 2012) | 1 line
Updated boost::base_from_member for C++2011.
There is an error on
Test output: Sandia-gcc-4.3.4_0x - format - format_test1 / gcc-4.3.4_0x Rev 77789 / Fri, 6 Apr 2012 05:57:33 +0000 Report Time: Fri, 6 Apr 2012 22:01:09 +0000 Compile [2012-04-06 07:43:02 UTC]: fail "/sierra/Sntools/extras/compilers/gcc-4.3.4/bin/g++" -ftemplate-depth-128 -std=gnu++0x -O0 -fno-inline -Wall -g -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -I".." -c -o "/scratch/kbelco/boost/results/boost/bin.v2/libs/format/test/format_test1.test/gcc-4.3.4_0x/debug/format_test1.o" "../libs/format/test/format_test1.cpp" ../boost/utility/base_from_member.hpp: In constructor ???boost::base_from_member<MemberType, UniqueID>::base_from_member(T&& ...) [with T = boost::io::basic_altstringbuf<char, std::char_traits<char>, std::allocator<char> >*&, boost::io::basic_oaltstringstream<char, std::char_traits<char>, std::allocator<char> >::No_Op, EnableIf = void, MemberType = boost::shared_ptr<boost::io::basic_altstringbuf<char, std::char_traits<char>, std::allocator<char> > >, int UniqueID = 0]???: ../boost/format/alt_sstream.hpp:146: instantiated from ???boost::io::basic_oaltstringstream<Ch, Tr, Alloc>::basic_oaltstringstream(boost::io::basic_altstringbuf<Ch, Tr, Alloc>*) [with Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>]??? ../boost/format/feed_args.hpp:142: instantiated from ???void boost::io::detail::put(T, const boost::io::detail::format_item<Ch, Tr, Alloc>&, typename boost::basic_format<Ch, Tr, Alloc>::string_type&, typename boost::basic_format<Ch, Tr, Alloc>::internal_streambuf_t&, boost::io::detail::locale_t*) [with Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, T = const char (&)[11]]??? ../boost/format/feed_args.hpp:253: instantiated from ???void boost::io::detail::distribute(boost::basic_format<Ch, Tr, Alloc>&, T) [with Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, T = const char (&)[11]]??? ../boost/format/feed_args.hpp:263: instantiated from ???boost::basic_format<Ch, Tr, Alloc>& boost::io::detail::feed(boost::basic_format<Ch, Tr, Alloc>&, T) [with Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, T = const char (&)[11]]??? ../boost/format/format_class.hpp:64: instantiated from ???boost::basic_format<Ch, Tr, Alloc>& boost::basic_format<Ch, Tr, Alloc>::operator%(const T&) [with T = char [11], Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>]??? ../libs/format/test/format_test1.cpp:40: instantiated from here ../boost/utility/base_from_member.hpp:137: error: invalid static_cast from type ???boost::io::basic_altstringbuf<char, std::char_traits<char>, std::allocator<char> >*??? to type ???T&&???
Change History (1)
comment:1 by , 10 years ago
Summary: | Regression on Sandia-gcc-4.3.4_0x when refactoring code for T&& → Regression on Sandia-gcc-4.3.4_0x when refactoring base_from_member code for T&& |
---|
Note:
See TracTickets
for help on using tickets.