Boost logo

Boost :

From: Georg Baum (Georg.Baum_at_[hidden])
Date: 2006-12-12 03:42:23


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk