DocBook v2

Pavel Sanda sanda at lyx.org
Sat Sep 19 19:33:56 UTC 2020


On Sat, Sep 19, 2020 at 08:54:16PM +0200, Thibaut Cuvelier wrote:
> I did the rebase again, as you suggested, and the results were better.
> Therefore, I have merged it in master.
> 
> Thank you all for your time and contributions on this!

This is what I see now in master:
  CXX      Paragraph.o
Paragraph.cpp: In member function 'std::__debug::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > lyx::Paragraph::simpleDocBookOnePar(const lyx::Buffer&, const lyx::OutputParams&, const lyx::Font&, lyx::pos_type, bool, bool) const':
Paragraph.cpp:3370:7: error: use of deleted function 'std::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >& std::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::operator=(const std::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&)'
    os = odocstringstream();
       ^
In file included from support/docstream.h:18:0,
                 from output_latex.h:17,
                 from Paragraph.cpp:37:
/usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/sstream:387:11: note: 'std::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >& std::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::operator=(const std::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&)' is implicitly deleted because the default definition would be ill-formed:
     class basic_ostringstream : public basic_ostream<_CharT, _Traits>
           ^
/usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/sstream:387:11: error: use of deleted function 'std::basic_ostream<wchar_t, std::char_traits<wchar_t> >& std::basic_ostream<wchar_t, std::char_traits<wchar_t> >::operator=(const std::basic_ostream<wchar_t, std::char_traits<wchar_t> >&)'
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/istream:39:0,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/fstream:38,
                 from support/docstream.h:17,
                 from output_latex.h:17,
                 from Paragraph.cpp:37:
/usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/ostream:58:11: note: 'std::basic_ostream<wchar_t, std::char_traits<wchar_t> >& std::basic_ostream<wchar_t, std::char_traits<wchar_t> >::operator=(const std::basic_ostream<wchar_t, std::char_traits<wchar_t> >&)' is implicitly deleted because the default definition would be ill-formed:
     class basic_ostream : virtual public basic_ios<_CharT, _Traits>
           ^
/usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/ostream:58:11: error: use of deleted function 'std::basic_ios<wchar_t>& std::basic_ios<wchar_t>::operator=(const std::basic_ios<wchar_t>&)'
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/ios:44:0,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/istream:38,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/fstream:38,
                 from support/docstream.h:17,
                 from output_latex.h:17,
                 from Paragraph.cpp:37:
/usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/bits/basic_ios.h:66:11: note: 'std::basic_ios<wchar_t>& std::basic_ios<wchar_t>::operator=(const std::basic_ios<wchar_t>&)' is implicitly deleted because the default definition would be ill-formed:
     class basic_ios : public ios_base
           ^
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/ios:42:0,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/istream:38,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/fstream:38,
                 from support/docstream.h:17,
                 from output_latex.h:17,
                 from Paragraph.cpp:37:
/usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/bits/ios_base.h:789:5: error: 'std::ios_base& std::ios_base::operator=(const std::ios_base&)' is private
     operator=(const ios_base&);
     ^
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/ios:44:0,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/istream:38,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/fstream:38,
                 from support/docstream.h:17,
                 from output_latex.h:17,
                 from Paragraph.cpp:37:
/usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/bits/basic_ios.h:66:11: error: within this context
     class basic_ios : public ios_base
           ^
In file included from support/docstream.h:18:0,
                 from output_latex.h:17,
                 from Paragraph.cpp:37:
/usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/sstream:387:11: error: use of deleted function 'std::basic_stringbuf<wchar_t>& std::basic_stringbuf<wchar_t>::operator=(const std::basic_stringbuf<wchar_t>&'
     class basic_ostringstream : public basic_ostream<_CharT, _Traits>
           ^
/usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/sstream:64:11: note: 'std::basic_stringbuf<wchar_t>& std::basic_stringbuf<wchar_t>::operator=(const std::basic_stringbuf<wchar_t>&)' is implicitly deleted because the default definition would be ill-formed:
     class basic_stringbuf : public basic_streambuf<_CharT, _Traits>
           ^
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/ios:43:0,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/istream:38,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/fstream:38,
                 from support/docstream.h:17,
                 from output_latex.h:17,
                 from Paragraph.cpp:37:
/usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/streambuf:810:7: error: 'std::basic_streambuf<_CharT, _Traits>& std::basic_streambuf<_CharT, _Traits>::operator=(const std::basic_streambuf<_CharT, _Traits>&) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>]' is private
       operator=(const basic_streambuf&) { return *this; };
       ^
In file included from support/docstream.h:18:0,
                 from output_latex.h:17,
                 from Paragraph.cpp:37:
/usr/lib/gcc/i686-pc-linux-gnu/4.9.4/include/g++-v4/sstream:64:11: error: within this context
     class basic_stringbuf : public basic_streambuf<_CharT, _Traits>
           ^

Pavel


More information about the lyx-devel mailing list