Hey guys,
It's great to play with HTML in C++. Hopefully I will add more usage
examples this week, and an image gallery application exploiting imlib2 very
very soon.
Now, the library compilation with GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5) (64
bit) gives this sexy error:
./tengwriter.h:116: error: invalid abstract return type for member function
'Teng::Writer_t Teng::Writer_t::operator=(const Teng::Writer_t&)'
./tengwriter.h:50: note: because the following virtual functions are pure
within 'Teng::Writer_t':
./tengwriter.h:67: note: virtual int Teng::Writer_t::write(const
std::string&)
./tengwriter.h:74: note: virtual int Teng::Writer_t::write(const char*)
./tengwriter.h:85: note: virtual int Teng::Writer_t::write(const
std::string&, std::pair<__gnu_cxx::__normal_iterator<const char*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >,
__gnu_cxx::__normal_iterator<const char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >)
./tengwriter.h:91: note: virtual int Teng::Writer_t::flush()
make[1]: *** [teng.lo] Error 1
make[1]: Leaving directory `/home/ogla/Desktop/downloads/teng-1.0.10/src'
make: *** [all-recursive] Error 1
To my humble knowledge, this shouldn't happen. Of course I commented it and
compilation went straightforward.
Ogla
|