Pavel Sanda wrote:
Same variable in the same namespace. That's what causes the conflict. Anonymous namespace, I think, has file scope.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 hereTry putting both of these variables in an anonymous namespace.hm, dont understand why this should help.
rh