Angus Leeming <[EMAIL PROTECTED]> writes: | I have got as far as FormPreferences in my attempts to get lyx to compile | with cxx 6.5. Now I'm a little stuck. > | We have not defined an operator=() for class Converters and I'm getting the | following error message. What's the best way to resolve this? > | I guess that defining operator=() as below is possible, but do we want it and | if not what's the solution?
Are you able to create a testcase for this error? I am not sure that the compiler is right. | Angus > | Possible solution | ============== | Converters & Converters::operator=()(Converters const & other) { | converterlist_ = other.converterlist_; | latex_command_ = other.latex_command_; | visited_= other.visited_; | // The offender? | // std::queue<int> Q_; | Q_ = other.Q_; | } same as the auto-generated one then... | The problem | ========== | void FormPreferences::Converters::apply() const | { | converters = local_converters; // The offending line | converters.update(formats); | converters.buildGraph(); | } strange. | The error message: > | cxx: Error: /usr/lib/cmplrs/cxx/V6.5-021/include/cxx/deque, line 574: #468 a | template argument may not reference a local type What template argument and what local type.... eh it isn't complaining about something in its own headers? -- Lgb