+2001-06-29 John Levon <moz@compsoc.man.ac.uk>
+
+ * INSTALL: change RedHat stuff to insist on updating gcc
+
2001-06-14 John Levon <moz@compsoc.man.ac.uk>
* Makefile.am: no point in including 200k historical
are needed for compilation). A 'make symlinks' in linux kernel
sources fixes that.
- o if you are using the standard compiler that comes with RedHat Linux 7.0
- (rpm versions 69 or below), it is known to miscompile LyX under some
- circumstances. Compiling without optimisation seems to work :
-
- CXXFLAGS="-g"
- ./configure ...
-
- You must use at least gcc 2.96-69 to compile LyX (check "rpm -q gcc").
+ o if you are using RedHat Linux 7.x, you must make sure you have the
+ latest updated gcc and related packages installed (at least -85),
+ or LyX will not compile or will be mis-compiled.
o if you get an error message when compiling LyX that looks like this :
cur_value = par->params().spacing().getValue();
}
- istringstream istr(argument);
+ istringstream istr(argument.c_str());
string tmp;
istr >> tmp;
+2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * lyxfunc.C (Dispatch):
+ * Spacing.C (set):
+ * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
+ constructor argument.
+
2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
* paragraph.C (Paragraph): dont't clear, and just set layout.
void Spacing::set(Spacing::Space sp, string const & val)
{
float fval;
- istringstream istr(val);
+ istringstream istr(val.c_str());
istr >> fval;
set(sp, fval);
}
+2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * insettext.C (localDispatch): use .c_str() on istringstream
+ constructor argument.
+
2001-06-29 John Levon <moz@compsoc.man.ac.uk>
* insettoc.h:
cur_value = par->params().spacing().getValue();
}
- std::istringstream istr(arg);
+ std::istringstream istr(arg.c_str());
string tmp;
istr >> tmp;
Spacing::Space new_spacing = cur_spacing;
#else
string file_name;
int row;
- istringstream istr(argument);
+ istringstream istr(argument.c_str());
istr >> file_name >> row;
#endif
// Must replace extension of the file to be .lyx and get full path
case LFUN_GOTO_PARAGRAPH:
{
- istringstream istr(argument);
+ istringstream istr(argument.c_str());
int id;
istr >> id;
lexrc.setFile(filename);
if (!lexrc.IsOK()) return -2;
- lyxerr[Debug::INIT] << "Reading '" << filename << "'..." << endl;
+ lyxerr[Debug::LYXRC] << "Reading '" << filename << "'..." << endl;
while (lexrc.IsOK()) {
// By using two switches we take advantage of the compiler
}
if ((action = lyxaction.LookupFunc(cmd))>= 0) {
- if (lyxerr.debugging(Debug::KBMAP)) {
+ if (lyxerr.debugging(Debug::LYXRC)) {
lyxerr << "RC_BIND: Sequence `"
<< seq << "' Command `"
<< cmd << "' Action `"
}
res = toplevel_keymap->bind(seq, action);
if (res != 0
- && lyxerr.debugging(Debug::KBMAP)) {
+ && lyxerr.debugging(Debug::LYXRC)) {
lexrc.printError(
"RC_BIND: "
"Invalid key sequence `"
+2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * formulabase.C (localDispatch): use .c_str() on istringstream
+ constructor argument.
+
2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* math_grid.C (addCol): add second argument to cellinfo_.insert.
int y;
int x1;
int y1;
- istringstream is(arg);
+ istringstream is(arg.c_str());
is >> x >> y;
lyxerr << "LFUN_SETXY: x: " << x << " y: " << y << "\n";
par_->GetXY(x1, y1);
int n = 1;
string v_align;
string h_align;
- istringstream is(arg);
+ istringstream is(arg.c_str());
is >> m >> n >> v_align >> h_align;
MathArrayInset * p = new MathArrayInset(m, n);
p->valign(v_align[0]);
if (arg.empty())
break;
- istringstream is(arg);
+ istringstream is(arg.c_str());
string lt;
string rt;
is >> lt >> rt;