On Thu, Sep 28, 2006 at 08:45:18AM +0200, Bastian Blank wrote: > [...] > > g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -Wall -O2 -Wall -c -o > > stream/sink-tut.o stream/sink-tut.cc > > g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -Wall -O2 -Wall -c -o > > stream/filters-tut.o stream/filters-tut.cc > > ../tagcoll/coll/simple.tcc: In member function 'void > > tagcoll::coll::Simple<ITEM, TAG>::insert(const ITEMS&, const TAGS&) [with > > ITEMS = std::set<std::basic_string<char, std::char_traits<char>, > > std::allocator<char> >, std::less<std::basic_string<char, > > std::char_traits<char>, std::allocator<char> > >, > > std::allocator<std::basic_string<char, std::char_traits<char>, > > std::allocator<char> > > >, TAGS = wibble::Singleton<long unsigned int>, > > ITEM = std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, TAG = unsigned int]': > > ../tagcoll/coll/base.h:300: instantiated from > > 'tagcoll::coll::Inserter<COLL>& > > tagcoll::coll::Inserter<COLL>::operator=(const std::pair<_U1, _U2>&) [with > > Items = std::set<std::basic_string<char, std::char_traits<char>, > > std::allocator<char> >, std::less<std::basic_string<char, > > std::char_traits<char>, std::allocator<char> > >, > > std::allocator<std::basic_string<char, std::char_traits<char>, > > std::allocator<char> > > >, Tags = wibble::Singleton<long unsigned int>, > > COLL = tagcoll::coll::Simple<std::basic_string<char, > > std::char_traits<char>, std::allocator<char> >, unsigned int>]' [...] > > stream/filters-tut.cc:197: instantiated from here > > ../tagcoll/coll/simple.tcc:49: error: no match for 'operator|' in > > 'std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned > > int> >() | tags' > > /usr/lib/gcc/s390-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/ios_base.h:161: > > note: candidates are: std::_Ios_Iostate std::operator|(std::_Ios_Iostate, > > std::_Ios_Iostate) > > /usr/lib/gcc/s390-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/ios_base.h:123: > > note: std::_Ios_Openmode > > std::operator|(std::_Ios_Openmode, std::_Ios_Openmode) > > /usr/lib/gcc/s390-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/ios_base.h:83: > > note: std::_Ios_Fmtflags > > std::operator|(std::_Ios_Fmtflags, std::_Ios_Fmtflags)
On Thu, Sep 28, 2006 at 10:06:13PM +0200, Kurt Roeckx wrote: > Your package is failing to build with the following error: > g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -Wall -O2 -Wall -c -o > stream/filters-tut.o stream/filters-tut.cc > ../tagcoll/coll/simple.tcc: In member function 'void > tagcoll::coll::Simple<ITEM, TAG>::insert(const ITEMS&, const TAGS&) [with > ITEMS = std::set<std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, std::less<std::basic_string<char, > std::char_traits<char>, std::allocator<char> > >, > std::allocator<std::basic_string<char, std::char_traits<char>, > std::allocator<char> > > >, TAGS = wibble::Singleton<long unsigned int>, ITEM > = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TAG > = unsigned int]': [...] > stream/filters-tut.cc:197: instantiated from here > ../tagcoll/coll/simple.tcc:49: error: no match for 'operator|' in > 'std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> > >() | tags' This is weird for me: I include <wibble/operators.h>, which defines those operators. And I use the wibble::operators namespace. And in other architectures (arm, powerpc, sparc, and my i386 laptop) it seems to have compiled properly. Kurt: what architecture and g++ version are you using for the build? Ciao, Enrico -- GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <[EMAIL PROTECTED]>
signature.asc
Description: Digital signature

