]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/c-typeck.c
In gcc/:
authorNicola Pero <nicola.pero@meta-innovation.com>
Thu, 23 Sep 2010 22:21:39 +0000 (22:21 +0000)
committerNicola Pero <nicola@gcc.gnu.org>
Thu, 23 Sep 2010 22:21:39 +0000 (22:21 +0000)
commit19dc6d015261862f1335587ab362f79a89dfc0c9
tree680cb9863c1843acf4a5ee0d2815beb43af9ab54
parent452648a89bd6f147245b795ac2880f34075685fa
In gcc/:

        * c-typeck.c (convert_arguments): Use warning 'too many arguments
        to method [methodname]' for an Objective-C method instead of the
        less satisfactory 'too many arguments to function' (with no method
        name).
In gcc/cp/:
        * typeck.c (warn_args_num): Use warning 'too many arguments to
        method [methodname]' for an Objective-C method instead of the less
        satisfactory 'too many arguments to function' (with no method
        name).
In gcc/testsuite/:
        * obj-c++.dg/too-many-args.mm: New file.
        Merge from 'apple/trunk' branch on FSF servers.

        2006-03-27 Fariborz Jahanian <fjahanian@apple.com>

        Radar 4491608
        * objc.dg/too-many-args.m: New

From-SVN: r164573
gcc/ChangeLog
gcc/c-typeck.c
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/obj-c++.dg/too-many-args.mm [new file with mode: 0644]
gcc/testsuite/objc.dg/too-many-args.m [new file with mode: 0644]