Re: Dejagnu Check Error
Rob Savoye <[email protected]>
| Newsgroups | gmane.comp.sysutils.dejagnu.bugs |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Oct 23, 2002 at 03:31:26PM -0400, Mike Cleary wrote: > I have found the following check error with dejagnu using the > basic-gcc_2.95.3 baseline and the toolchain package on an alpha with > the alphaev56-unknown-linux-gnu configuration: > > c++ -DPACKAGE=\"dejagnu\" -DVERSION=\"1.4.2\" -I. > -I/mnt/u9/toolchain/buildsys/source/too > hain/dejagnu/testsuite/libdejagnu/unit.cc > /mnt/u9/toolchain/buildsys/install/alpha9/basic-gcc_2.95.3/native/toolchain/include/c++/3. > 3/streambuf: In > function `int main(int, char**)': > /mnt/u9/toolchain/buildsys/install/alpha9/basic-gcc_2.95.3/native/toolchain/include/c++/3. > 3/streambuf:416: error: ` > std::basic_streambuf<_CharT, _Traits>* std::basic_streambuf<_CharT, > _Traits>::setbuf(_CharT*, long int) [with _CharT = char, _Traits = > std::char_traits<char>]' is protected Interesting. I don't get this error with GCC 2.95.3 on HPUX, Linux, or Solaris. In unit.cc, there is a test for GCC 2.x or 3.x. Since it's looking for setbuf(), it's using the GCC 2.x C++ library. I use __STDC_HOSTED__ to determine the difference in the test case. If you are having this problem with unit.cc, you might want test libstdc++-v2 to make sure it's working. btw, DejaGnu 1.4.3 is out. - rob -