Juergen Vigna <[EMAIL PROTECTED]> writes:

| On 12-Apr-2000 Kayvan A. Sylvan wrote:
| > g++ -DHAVE_CONFIG_H -I. -I. -I. -I../images  -I/usr/X11R6/include  -g -ansi -W 
|-Wall
| > -Wno-return-type -c lyxfunc.C
| > lyxfunc.C: In method `class string LyXFunc::Dispatch(int, const char * = 0)':
| > lyxfunc.C:1960: `istringstream' undeclared (first use this function)
| > lyxfunc.C:1960: (Each undeclared identifier is reported only once
| > lyxfunc.C:1960: for each function it appears in.)
| > lyxfunc.C:1960: parse error before `('
| > lyxfunc.C:1962: `istr' undeclared (first use this function)
| > lyxfunc.C:1975: confused by earlier errors, bailing out
| 
| Put in this code at line 1961 in lyxfunc.C:
| 
| -               istringstream istr(argument);
| + #ifdef HAVE_SSTREAM
| +                 istringstream istr(argument);
| + #else
| +                 istrstream istr(argument.data());
| + #endif
| 
| This works here :)

Jupp, correct fix and now in CVS. 

        Lgb

Reply via email to