Pavel Sanda wrote:
GuiPainter.cpp: At global scope:
GuiPainter.cpp:433: error: redefinition of 'const int lyx::frontend::d'
GuiFontMetrics.cpp:180: error: 'const int lyx::frontend::d' previously defined here

Try putting both of these variables in an anonymous namespace.

hm, dont understand why this should help.

Same variable in the same namespace. That's what causes the conflict. Anonymous namespace, I think, has file scope.

rh

Reply via email to