> > Layout.cpp: At global scope: > > Layout.cpp:30: error: default argument given for parameter 2 of > > 'lyx::FontInfo lyx::lyxRead(lyx::Lexer&, const lyx::FontInfo&)' > > Font.cpp:306: error: after previous specification in 'lyx::FontInfo > > lyx::lyxRead(lyx::Lexer&, const lyx::FontInfo&)' > > MenuBackend.cpp:134: warning: unused parameter 'forgui' > > TextClass.cpp:53: error: default argument given for parameter 2 of > > 'lyx::FontInfo lyx::lyxRead(lyx::Lexer&, const lyx::FontInfo&)' > > Font.cpp:306: error: after previous specification in 'lyx::FontInfo > > lyx::lyxRead(lyx::Lexer&, const lyx::FontInfo&)' > > > > both cases are because of this line: > > extern FontInfo lyxRead(Lexer &, FontInfo const & fi = sane_font); > > Does this happen in src or src/tex2lyx? I was fighting with this at some > point. tex2lyx has some things symlinked to src, some things as physical > private versions.
no, its when compiling core. when i tried to remove this code from their .cpp location i got some errs in lyx2lyx iirc. pavel