From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12936 invoked by alias); 19 Apr 2013 18:40:50 -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 12912 invoked by uid 89); 19 Apr 2013 18:40:50 -0000 X-Spam-SWARE-Status: No, score=-8.1 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 19 Apr 2013 18:40:49 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r3JIemBr008249 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 19 Apr 2013 14:40:48 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r3JIekrv021137; Fri, 19 Apr 2013 14:40:47 -0400 Message-ID: <51718FAE.3000006@redhat.com> Date: Sun, 21 Apr 2013 04:59:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 MIME-Version: 1.0 To: Tom Tromey CC: gdb-patches@sourceware.org Subject: Re: [RFA PATCH] Enable -Wpointer-sign by default. References: <20130419175932.13401.30699.stgit@brno.lan> <87vc7iv08w.fsf@fleche.redhat.com> In-Reply-To: <87vc7iv08w.fsf@fleche.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-04/txt/msg00631.txt.bz2 On 04/19/2013 07:33 PM, Tom Tromey wrote: > Pedro> +whose signness is host-dependent. @sc{gcc} enables this with > > "signedness" is more typical. Whoops. I'm applying this then. Thanks, -- Pedro Alves ----------- s/signness/signedness in gdbint.texinfo. "signedness" is more typical. gdb/ 2013-04-19 Pedro Alves * gdbint.texinfo (Misc Guidelines) : Write "signedness" instead of "signness". Index: src/gdb/doc/gdbint.texinfo =================================================================== --- src.orig/gdb/doc/gdbint.texinfo +++ src/gdb/doc/gdbint.texinfo @@ -6342,7 +6342,7 @@ but also calls to functions such as @cod @item -Wpointer-sign This helps make sure @value{GDBN} code uses @code{gdb_byte} which is really @code{unsigned char} for raw bytes instead of @code{char}, -whose signness is host-dependent. @sc{gcc} enables this with +whose signedness is host-dependent. @sc{gcc} enables this with @code{-Wall} since version 4.0. We enable it explicitly too to be decoupled from future @sc{gcc} (or other compiler)'s defaults.