Jean-Marc Lasgouttes wrote:
[EMAIL PROTECTED] writes:
URL: http://www.lyx.org/trac/changeset/21858
Log:
MSVC compile fix.
if (change.type != Change::UNCHANGED) {
LYXERR(Debug::CHANGES, "setting change (type: " << change.type
- << ", author: " << change.author << ", time: " <<
change.changetime
+ << ", author: " << change.author
+ << ", time: " << long(change.changetime)
<< ") in range (" << start << ", " << end << ")");
}
AndreƩ, can you do something about that? Adding long() all over LYXERR
statements is certainly not a 'simplification'.
This is only for 'time_t' type, which is not used all over the place.
The alternative is to include <ctime> in "Debug.h" which seems a bit heavy.
Abdel.