From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2118 invoked by alias); 29 Dec 2001 15:06:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 2093 invoked by uid 71); 29 Dec 2001 15:06:01 -0000 Date: Sat, 29 Dec 2001 07:06:00 -0000 Message-ID: <20011229150601.2092.qmail@sources.redhat.com> To: nathan@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Nathan Sidwell Subject: Re: c++/5089: -Wold-style-cast warns about cast to void Reply-To: Nathan Sidwell X-SW-Source: 2001-12/txt/msg01208.txt.bz2 List-Id: The following reply was made to PR c++/5089; it has been noted by GNATS. From: Nathan Sidwell To: jturner Cc: gcc-prs , llib , nathan , gcc-bugs , nobody , gcc-gnats Subject: Re: c++/5089: -Wold-style-cast warns about cast to void Date: Sat, 29 Dec 2001 15:04:14 +0000 Jeffrey Turner wrote: > > I don't see this as a problem. It is what the warning says. > You should use the ever dangerous instead. reinterpret_cast(whatever) is invalid. 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