[Top][All Lists]

[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:

| In
|   function `int main(int, char**)':
| 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

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 


note the "p" at the beginning.

Hope that helps,

-- Gaby

reply via email to

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