Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > Dialogs.C:275: error: expected type-specifier before 'ControlRef' > > Dialogs.C:275: error: expected `)' before 'ControlRef' > > Dialogs.C:275: error: no matching function for call to > > 'lyx::frontend::Dialog::setController(int*)' > > ../../../src/frontends/controllers/Dialog.h:105: note: candidates are: > > void > > lyx::frontend::Dialog::setController(lyx::frontend::Dialog::Controller*) > > make[2]: *** [Dialogs.lo] Error 1 > > I don't know yet about this one.
ControlRef derives from Dialog::Controller but the compiler can't see that because '#include "controllers/ControlRef.h"' is missing. > > QLPainter.C: In member function 'virtual void QLPainter::text(int, int, > > const char*, size_t, const LyXFont&)': > > QLPainter.C:270: error: ambiguous overload for 'operator[]' in 'str[i]' > > Hum I guess we need a cast to int here. It's weird that unix and mingw > are OK with that: > str[(int)i] = QChar(encoding->ucs(s[i])); > or just above: > for (int i = 0; i < ls; ++i) I suspect that it's because there are two overloads of operator[] and that the "i" can be converted to either. I seem to remember Asger had a similar problem at some stage using the MSVS compiler. > > QLPopupMenu.C:67: error: 'BOOST_CURRENT_FUNCTION' was not declared in > > this scope > > I don't know (same as above) grep -r '^ *# \{1,\}define \{1,\} BOOST_CURRENT_FUNCTION' boost/boost from the top level of the LyX repository. #include the missing file. Angus