This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: void* is not a pointer-to-object type


"Breuer, Markus" wrote:
> 
> Since migrating from gcc 2.8.1 to 2.95.2 the gcc delivers a warning message
> at streambuf.h line 485 (void* ist not a pointer-to-object type).
> I use the compiler switches -Wall and -pedantic because e need all warning
> messages. But this warning I cannot avoid because it is in the system
> headers.

You must be not using the libio which comes with gcc. That has the
following patch
1999-04-29  Nathan Sidwell  <nathan@acm.org>

        * streambuf.h (ios::~ios): Use operator delete[] to remove _arrays.

which libio are you using?

nathan

-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
         'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]