|
Subject: [iostreams] compile error with gcc 4.0.2 Newsgroups: gmane.comp.lib.boost.devel Date: 2006-12-12 08:42:23 GMT (2 years, 29 weeks, 1 day, 5 hours and 47 minutes ago) Hi, I get the following compile error when compiling the latest svn version of LyX with the current 1.34 branch of boost with gcc 4.0.2 (comes with SuSE Linux 10.0): ./../boost/boost/iostreams/filter/symmetric.hpp:112: error: ‘boost::iostreams::symmetric_filter<boost::iostreams::detail::zlib_compressor_impl<std::allocator<char> >, std::allocator<char> >::<anonymous enum>’ is/uses anonymous type ../../boost/boost/iostreams/filter/symmetric.hpp:112: error: trying to instantiate ‘template<class T> struct boost::is_integral’ ../../boost/boost/iostreams/filter/symmetric.hpp:124: error: ‘boost::iostreams::symmetric_filter<boost::iostreams::detail::zlib_compressor_impl<std::allocator<char> >, std::allocator<char> >::<anonymous enum>’ is/uses anonymous type ../../boost/boost/iostreams/filter/symmetric.hpp:124: error: trying to instantiate ‘template<class T> struct boost::is_integral’ ../../boost/boost/iostreams/filter/symmetric.hpp:131: error: ‘boost::iostreams::symmetric_filter<boost::iostreams::detail::zlib_compressor_impl<std::allocator<char> >, std::allocator<char> >::<anonymous enum>’ is/uses anonymous type ../../boost/boost/iostreams/filter/symmetric.hpp:131: error: trying to instantiate ‘template<class T> struct boost::is_integral’ I believe that this is a compiler bug, at least I could not find anything wrong in the code, and gcc 4.1 works fine. Nevertheless a workaround should be added to the iostreams library IMHO, especially since it is already in HEAD: http://boost.cvs.sourceforge.net/boost/boost/boost/iostreams/filter/symmetric.hpp?r1=1.1&r2=1.1.2.1 Could somebody put this fix into the 1.34 branch please? Thanks, Georg _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost |
|
|