void* is not a pointer-to-object type

Nathan Sidwell nathan@codesourcery.com
Fri May 26 01:41:00 GMT 2000

"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?


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

More information about the Gcc-bugs mailing list