From: David Blaikie <dblaikie@gmail.com>
To: Tom Tromey <tromey@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: bogus main declaration in gdb.base/label.c
Date: Tue, 15 Jan 2013 18:07:00 -0000 [thread overview]
Message-ID: <CAENS6EvD1aJSsLXuJKPT2322LYCk6C01DiuXPXvP0U88HAGH9w@mail.gmail.com> (raw)
In-Reply-To: <87k3rfmp2l.fsf@fleche.redhat.com>
On Mon, Jan 14, 2013 at 1:28 PM, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "David" == David Blaikie <dblaikie@gmail.com> writes:
>
> David> The declaration of main in gdb.base/label.c is incorrect & fails to
> David> compile under Clang:
>
> David> ../../../src/gdb/7.5/gdb/testsuite/gdb.base/label.c:4:1: error: second
> David> parameter of 'main' (argument array) must be of type 'char **'
> David> main (int argc, char *argv)
> David> ^
>
> David> The attached patch fixes this by adding the missing '*' to the
> David> second parameter.
>
> It needs a ChangeLog entry, but otherwise is ok.
Still a little fuzzy on ChangeLog entries, especially for patches
(following the contribution documentation it ends up pointing at
threads like this: http://gcc.gnu.org/ml/gcc/2000-09/msg00290.html (
from http://gcc.gnu.org/codingconventions.html#ChangeLogs ))
* testsuite/gdb.base/label.c: Correct the type of the second
parameter to main.
next prev parent reply other threads:[~2013-01-15 18:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-14 20:52 David Blaikie
2013-01-14 21:29 ` Tom Tromey
2013-01-15 18:07 ` David Blaikie [this message]
2013-01-15 18:18 ` Sergio Durigan Junior
2013-01-15 18:33 ` David Blaikie
2013-01-17 17:29 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAENS6EvD1aJSsLXuJKPT2322LYCk6C01DiuXPXvP0U88HAGH9w@mail.gmail.com \
--to=dblaikie@gmail.com \
--cc=gdb-patches@sourceware.org \
--cc=tromey@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox