This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog configure configure.ac macho ...
- From: tromey at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: Mon, 01 Jul 2013 19:52:33 +0000
- Subject: src/gdb ChangeLog configure configure.ac macho ...
CVSROOT: /cvs/src
Module name: src
Changes by: tromey@sourceware.org 2013-07-01 19:52:33
Modified files:
gdb : ChangeLog configure configure.ac machoread.c
macrocmd.c
Log message:
add -Wold-style-definition
This adds -Wold-style-definition to gdb's list of warnings. This
found a couple of spots where "()" was used where "(void)" is more
correct.
Tested by rebuilding on x86-64 Fedora 18.
* configure.ac (build_warnings): Add -Wold-style-definition.
* configure: Rebuild.
* machoread.c (_initialize_machoread): Use "(void)".
* macrocmd.c (macro_inform_no_debuginfo): Fix formatting;
use "(void)".
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15776&r2=1.15777
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/configure.diff?cvsroot=src&r1=1.397&r2=1.398
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/configure.ac.diff?cvsroot=src&r1=1.209&r2=1.210
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/machoread.c.diff?cvsroot=src&r1=1.55&r2=1.56
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/macrocmd.c.diff?cvsroot=src&r1=1.32&r2=1.33