|
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