src/gdb ChangeLog configure configure.ac macho ...
tromey@sourceware.org
tromey@sourceware.org
Mon Jul 1 19:52:00 GMT 2013
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
More information about the Gdb-cvs
mailing list