John Levon <[EMAIL PROTECTED]> writes:
| /usr/gcc3.0/bin/g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../../boost
|-isystem /usr/X11R6/include -g -O -W -Wall -Wp,-MD,.deps/lyxsum.pp -c lyxsum.C -o
| lyxsum.o
| /usr/gcc3.0/include/g++-v3/bits/stl_iterator.h: In constructor
| `std::istream_iterator<_Tp, _Dist>::istream_iterator() [with _Tp = char,
| _Dist = ptrdiff_t]':
| lyxsum.C:118: instantiated from here
| /usr/gcc3.0/include/g++-v3/bits/stl_iterator.h:857: `cin' undeclared (first use
| this function)
| /usr/gcc3.0/include/g++-v3/bits/stl_iterator.h:857: (Each undeclared
|identifier
| is reported only once for each function it appears in.)
| make: *** [lyxsum.lo] Error 1
I guess this should be reported as a bug to the g++-v3 people.
We should not manually have to include <iostream> to be able to use
<iterator> with <fstream>
I'll have a look at this.
--
Lgb