Testsuite ?
David Ronis
ronis@ronispc.chem.mcgill.ca
Tue Jun 12 15:10:00 GMT 2001
Hi Alexandre,
Thanks for the reply, I've just downloaded version 1.4.1 (I think I
was running 1.4.0). In any event, it won't compile. With gcc-2.95.3
I get:
make[2]: Entering directory `/home/ronis/dejagnu-1.4.1/testsuite/libdejagnu'
g++ -DPACKAGE=\"dejagnu\" -DVERSION=\"1.4.1\" -I. -I. -I../.. -g -c unit.cc
In file included from unit.cc:4:
../../dejagnu.h: In function `char * testout(int)':
../../dejagnu.h:117: no matching function for call to `ostrstream::seekp (ios::seek_dir)'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/iostream.h:71: candidates are: class ostream & ostream::seekp(_G_fpos64_t)
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/iostream.h:72: class ostream & ostream::seekp(long long int, ios::seek_dir)
make[2]: *** [unit.o] Error 1
make[2]: Leaving directory `/home/ronis/dejagnu-1.4.1/testsuite/libdejagnu'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ronis/dejagnu-1.4.1/testsuite'
make: *** [all-recursive] Error 1
or with gcc-3.0, where I get:
make[2]: Entering directory `/home/ronis/dejagnu-1.4.1/testsuite/libdejagnu'
/usr/bin/g++ -DPACKAGE=\"dejagnu\" -DVERSION=\"1.4.1\" -I. -I. -I../.. -g -c unit.cc
/usr/include/g++-v3/bits/std_streambuf.h: In function `int main(int, char**)':
/usr/include/g++-v3/bits/std_streambuf.h:453: `std::basic_streambuf<_CharT,
_Traits>* std::basic_streambuf<_CharT, _Traits>::setbuf(_CharT*, int) [with
_CharT = char, _Traits = std::char_traits<char>]' is protected
unit.cc:53: within this context
make[2]: *** [unit.o] Error 1
make[2]: Leaving directory `/home/ronis/dejagnu-1.4.1/testsuite/libdejagnu'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ronis/dejagnu-1.4.1/testsuite'
make: *** [all-recursive] Error 1
(I also had to add a "using namespace std;" to dejagnu.h in order to
get this far).
David
Alexandre Oliva writes:
>
> On Jun 12, 2001, David Ronis <ronis@ronispc.chem.mcgill.ca> wrote:
>
> > ERROR: couldn't compile regular expression pattern: nested *?+
> > while executing
>
> IIRC, this means you need a newer version of dejagnu.
>
> --
> Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc-bugs
mailing list