This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA PATCH] Enable -Wpointer-sign by default.
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 19 Apr 2013 19:40:46 +0100
- Subject: Re: [RFA PATCH] Enable -Wpointer-sign by default.
- References: <20130419175932 dot 13401 dot 30699 dot stgit at brno dot lan> <87vc7iv08w dot fsf at fleche dot redhat dot com>
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 <palves@redhat.com>
* gdbint.texinfo (Misc Guidelines) <Compiler Warnings>: 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.