gdb/ChangeLog:
authorJim Blandy <jimb@codesourcery.com>
Fri, 20 Jan 2006 21:58:16 +0000 (21:58 +0000)
committerJim Blandy <jimb@codesourcery.com>
Fri, 20 Jan 2006 21:58:16 +0000 (21:58 +0000)
2006-01-18  Jim Blandy  <jimb@redhat.com>

* configure.ac: Add -Wno-pointer-sign to list of build warnings.
* configure: Regenerated.

gdb/doc/ChangeLog:
2006-01-18  Jim Blandy  <jimb@redhat.com>

* gdbint.texinfo (Coding): Add entry for -Wno-pointer-sign to list
of warning flags.

gdb/ChangeLog
gdb/configure
gdb/configure.ac
gdb/doc/ChangeLog
gdb/doc/gdbint.texinfo

index c54e1e0c849942b2de8502b3c5332bb0d381c808..ad8f031c4557c5fd71f84626116530d0d147660e 100644 (file)
@@ -1,3 +1,8 @@
+2006-01-20  Jim Blandy  <jimb@redhat.com>
+
+       * configure.ac: Add -Wno-pointer-sign to list of build warnings.
+       * configure: Regenerated.
+
 2006-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * MAINTAINERS: Overhaul.
index 9dff1f68776bae9c52a3b74e9a02135f3576f536..0a57b3b2280ce85c468cd0f89c822e76eade65a9 100755 (executable)
@@ -20105,7 +20105,7 @@ fi;
 # gdb/doc/gdbint.texinfo.
 build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
 -Wformat -Wparentheses -Wpointer-arith -Wformat-nonliteral \
--Wunused-label -Wunused-function"
+-Wunused-label -Wunused-function -Wno-pointer-sign"
 
 # GCC supports -Wuninitialized only with -O or -On, n != 0.
 if test x${CFLAGS+set} = xset; then
index c1b18ff871b8700544a3e919218c8f15229223c7..8e38ae7be68e233c2f603876c8fb7a4c97e5fdee 100644 (file)
@@ -1115,7 +1115,7 @@ AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE)
 # gdb/doc/gdbint.texinfo.
 build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
 -Wformat -Wparentheses -Wpointer-arith -Wformat-nonliteral \
--Wunused-label -Wunused-function"
+-Wunused-label -Wunused-function -Wno-pointer-sign"
 
 # GCC supports -Wuninitialized only with -O or -On, n != 0.
 if test x${CFLAGS+set} = xset; then
index 39b562ffe10247a16554f98ba8fcb065cebb2f79..c48c8f0f3445eb4f220d6f67cdaf8fd5a8e74387 100644 (file)
@@ -1,3 +1,8 @@
+2006-01-18  Jim Blandy  <jimb@redhat.com>
+
+       * gdbint.texinfo (Coding): Add entry for -Wno-pointer-sign to list
+       of warning flags.
+
 2006-01-13  Eli Zaretskii  <eliz@gnu.org>
 
        * gdb.texinfo (Sequences): Improve menu annotations.
index 3007e0a24e6f9b448179551fcac1ab5ab5da9ec3..f7d7936fe3783d1c6cc84df0f41640c16b91789a 100644 (file)
@@ -5016,6 +5016,15 @@ switch (sched)
 @end smallexample
 
 @item -Wunused-function
+
+@item -Wno-pointer-sign
+In version 4.0, GCC began warning about pointer argument passing or
+assignment even when the source and destination differed only in
+signedness.  However, most @value{GDBN} code doesn't distinguish
+carefully between @code{char} and @code{unsigned char}.  In early 2006
+the @value{GDBN} developers decided correcting these warnings wasn't
+worth the time it would take.
+
 @end table
 
 @emph{Pragmatics: Due to the way that @value{GDBN} is implemented most
This page took 0.067334 seconds and 4 git commands to generate.