bug-dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-dejagnu] Dejagnu check error


From: Gabriel Dos Reis
Subject: Re: [Bug-dejagnu] Dejagnu check error
Date: 29 Aug 2002 22:03:26 +0200

Mike Cleary <address@hidden> writes:

| 
/mnt/u9/toolchain/buildsys/install/alpha9/basic/native/toolchain/include/c++/3.3/streambuf:
 
| In
|   function `int main(int, char**)':
| 
/mnt/u9/toolchain/buildsys/install/alpha9/basic/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
| 
/mnt/u9/toolchain/buildsys/source/toolchain/dejagnu/testsuite/libdejagnu/unit.cc:56:
 

Hi Rob,

  I intended to post a patch for this very problem (and other issues)
but didn't have the time.  With the standard C++ conformant library
(GCC-3.x), std::streambuf::setbuf() is publically inaccessible. 
Rather, the right function to call is 

   std::streambuf::psetbuf()
                   ^

note the "p" at the beginning.

Hope that helps,

-- Gaby




reply via email to

[Prev in Thread] Current Thread [Next in Thread]