This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: void* is not a pointer-to-object type
- To: "Breuer, Markus" <markus dot breuer at materna dot de>
- Subject: Re: void* is not a pointer-to-object type
- From: Nathan Sidwell <nathan at codesourcery dot com>
- Date: Fri, 26 May 2000 09:41:57 +0100
- CC: "'bug-gcc at gnu dot org'" <bug-gcc at gnu dot org>
- Organization: CodeSourcery, LLC
- References: <8D97DCB4EFE9D311AECB0050DA788CB01F3D27@rohrpostix.materna-com.de>
"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