From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14930 invoked by alias); 1 Oct 2013 12:04:34 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 14920 invoked by uid 89); 1 Oct 2013 12:04:34 -0000 Received: from sibelius.xs4all.nl (HELO glazunov.sibelius.xs4all.nl) (83.163.83.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 01 Oct 2013 12:04:34 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: glazunov.sibelius.xs4all.nl Received: from glazunov.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3) with ESMTP id r91C4QaP025504; Tue, 1 Oct 2013 14:04:26 +0200 (CEST) Received: (from kettenis@localhost) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3/Submit) id r91C4QVo006124; Tue, 1 Oct 2013 14:04:26 +0200 (CEST) Date: Tue, 01 Oct 2013 12:04:00 -0000 Message-Id: <201310011204.r91C4QVo006124@glazunov.sibelius.xs4all.nl> From: Mark Kettenis To: ooprala@redhat.com CC: gdb-patches@sourceware.org In-reply-to: <524AB12E.8090209@redhat.com> (message from Ondrej Oprala on Tue, 01 Oct 2013 13:25:34 +0200) Subject: Re: C++-compat clean build References: <524AB12E.8090209@redhat.com> X-SW-Source: 2013-10/txt/msg00038.txt.bz2 > Date: Tue, 01 Oct 2013 13:25:34 +0200 > From: Ondrej Oprala > > Hi, > this is the first of a few patches I intend to write to make gdb code > compile cleanly with -Wc++-compat. > The idea is to make separate patches for respective subdirs under gdb/, > unless someone objects ofc. > > Thanks in advance for any advice/criticism. Rejected. Introducing all these casts can't be right. They hide type conversion issues and make the code unreadable.