This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bogus main declaration in gdb.base/label.c


>>>>> "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.

If you're going to submit more patches, you should start the copyright
assignment process.  Send me email off-list & I will send you what you
need.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]