Scott Kostyshak wrote:
> Dear all,
> 
> If you have time, please download the LyX 2.2.0alpha1 tar and test that
> it compiles/installs as expected. It is located here:

Monolithic build seems to be broken:

In file included from liblyxqt4.cpp:27:0:
GuiCharacter.cpp: In function 'bool 
lyx::frontend::{anonymous}::ColorSorter(lyx::ColorCode, lyx::ColorCode)':
GuiCharacter.cpp:196:6: error: redefinition of 'bool 
lyx::frontend::{anonymous}::ColorSorter(lyx::ColorCode, lyx::ColorCode)'
 bool ColorSorter(ColorCode lhs, ColorCode rhs)
      ^
In file included from liblyxqt4.cpp:23:0:
GuiBox.cpp:108:6: note: 'bool 
lyx::frontend::{anonymous}::ColorSorter(lyx::ColorCode, lyx::ColorCode)' 
previously defined here
 bool ColorSorter(ColorCode lhs, ColorCode rhs)
      ^
In file included from liblyxqt4.cpp:64:0:
GuiPrefs.cpp: In constructor 
'lyx::frontend::PrefColors::PrefColors(lyx::frontend::GuiPreferences*)':
GuiPrefs.cpp:1167:53: error: too few arguments to function 'bool 
lyx::frontend::{anonymous}::ColorSorter(lyx::ColorCode, lyx::ColorCode)'
  sort(lcolors_.begin(), lcolors_.end(), ColorSorter());
                                                     ^
In file included from liblyxqt4.cpp:23:0:
GuiBox.cpp:108:6: note: declared here
 bool ColorSorter(ColorCode lhs, ColorCode rhs)
      ^
In file included from liblyxqt4.cpp:84:0:
GuiView.cpp: At global scope:
GuiView.cpp:272:16: warning: 'lyx::frontend::GuiView::GuiViewPrivate' has a 
field 'lyx::frontend::GuiView::GuiViewPrivate::bg_widget_' whose type uses the 
anonymous namespace
 class GuiView::GuiViewPrivate
                ^
In file included from liblyxqt4.cpp:98:0:
Menus.cpp:1704:14: warning: 'lyx::frontend::Menu::Impl' has a field 
'lyx::frontend::Menu::Impl::top_level_menu' whose type uses the anonymous 
namespace
 struct Menu::Impl
              ^
Menus.cpp:1829:15: warning: 'lyx::frontend::Menus::Impl' has a field 
'lyx::frontend::Menus::Impl::menulist_' whose type uses the anonymous namespace
 struct Menus::Impl {
               ^
Menus.cpp:1829:15: warning: 'lyx::frontend::Menus::Impl' has a field 
'lyx::frontend::Menus::Impl::menubar_' whose type uses the anonymous namespace
In file included from /usr/include/qt4/QtCore/qchar.h:45:0,
                 from /usr/include/qt4/QtCore/qstring.h:45,
                 from /usr/include/qt4/QtCore/QString:1,
                 from Dialog.h:21,
                 from Dialog.cpp:13,
                 from liblyxqt4.cpp:4:
Resources.cpp:64999:44: warning: 'qInitResources_Resources__init_variable__' 
defined but not used [-Wunused-variable]
 Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources_Resources))
                                            ^
/usr/include/qt4/QtCore/qglobal.h:826:21: note: in definition of macro 
'Q_CONSTRUCTOR_FUNCTION0'
    static const int AFUNC ## __init_variable__ = AFUNC();
                     ^
Resources.cpp:64999:1: note: in expansion of macro 'Q_CONSTRUCTOR_FUNCTION'
 Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources_Resources))
 ^
Resources.cpp:64999:24: note: in expansion of macro 'QT_MANGLE_NAMESPACE'
 Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources_Resources))
                        ^
In file included from liblyxqt4.cpp:85:0:
GuiViewSource.cpp:174:9: warning: 'QString 
lyx::frontend::{anonymous}::prependTexRow(const lyx::TexRow&, const QString&)' 
defined but not used [-Wunused-function]
 QString prependTexRow(TexRow const & texrow, QString const & content)
         ^
Makefile:967: recipe for target 'liblyxqt4.o' failed
make[6]: *** [liblyxqt4.o] Error 1
make[6]: Leaving directory 
'/var/tmp/portage/app-office/lyx-2.2.0_alpha1/work/lyx-2.2.0alpha1/src/frontends/qt4'


Pavel

Reply via email to