Le 06/11/2012 20:28, Pavel Sanda a écrit :
Jean-Marc Lasgouttes wrote:
Fixed on master. Note that monolithic fails there:
CXX liblyxqt4.o
In file included from
../../../../master/src/frontends/qt4/GuiApplication.cpp:117,
from liblyxqt4.cpp:20:
/usr/include/X11/Xlib.h:210: error: reference to ?Font? is ambiguous
/usr/include/X11/X.h:100: error: candidates are: typedef XID Font
Are able to reproduce on a fresh tree?
Yes. It is because CategorizedWidget uses "using namespace lyx".
I tried to fix it by putting it into lyx::frontend, but gave up: there
are duplicate definitions between CategorizedCombo and LayoutBox, which
will eventually be merged if I understand correctly.
Moreover there are strange things like the following that I do not fully
understand:
In file included from liblyxqt4.cpp:85:
../../../../master/src/frontends/qt4/GuiView.cpp:204: warning:
‘lyx::frontend::GuiView::GuiViewPrivate’ has a field
‘lyx::frontend::GuiView::GuiViewPrivate::bg_widget_’ whose type uses the
anonymous namespace
JMarc