Dekel Tsur <[EMAIL PROTECTED]> writes:
Wrong solution. Is I said in t the changelog entry or was it perhaps
in a mail to cvslog... I probably added explicit in too many places,
but most of them should be there.
The point with adding them is to avoid impicit conversions (so called
conversion constructors). What is then needed is to decide if some of
them are wanted _or_ if there should be added overloaded methods that
handle the more basci types directly makeing all the conversions
explicit.
Lgb
| I had a problem compiling today's CVS.
| I'm getting
| ../../src/support/lstrings.h: In function `class lyxstring tostr(bool)':
| In file included from ../../src/debug.h:9,
| from ../../src/commandtags.h:13,
| from formula.C:30:
| ../../src/support/lstrings.h:84: conversion from `char *' to non-scalar type
|`lyxstring' requested
| formula.C: In method `enum UpdatableInset::RESULT InsetFormula::LocalDispatch(class
|BufferView *, int, const class lyxstring &)':
| formula.C:861: no matching function for call to `MiniBuffer::Set (char *)'
| ../../src/minibuffer.h:32: candidates are: MiniBuffer::Set(const lyxstring &, const
|lyxstring &, const lyxstring &, int)
| formula.C:872: no matching function for call to `MiniBuffer::Set (char *)'
| ../../src/minibuffer.h:32: candidates are: MiniBuffer::Set(const lyxstring &, const
|lyxstring &, const lyxstring &, int)
| [more similar errors follow...]
|
| The problem is with the "explicit" keywords: I've manage to compile the code
| by removing these keywords (I added "#define explicit" to config.h).
| My compiler is egcs-1.0.3.