aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/go-backend.c
diff options
context:
space:
mode:
authorNicola Pero <nicola.pero@meta-innovation.com>2010-12-30 18:26:56 +0000
committerNicola Pero <nicola@gcc.gnu.org>2010-12-30 18:26:56 +0000
commit223706ad626f262e18f9ae7786cbc88509b088a5 (patch)
tree43a6e7abb3563b355e1079efa3f54b7b92198ea8 /gcc/go/go-backend.c
parentae480e548c664521c9c79bfc586b8a2fc135ffde (diff)
downloadgcc-223706ad626f262e18f9ae7786cbc88509b088a5.zip
gcc-223706ad626f262e18f9ae7786cbc88509b088a5.tar.gz
gcc-223706ad626f262e18f9ae7786cbc88509b088a5.tar.bz2
In gcc/objc/: 2010-12-30 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/objc/: 2010-12-30 Nicola Pero <nicola.pero@meta-innovation.com> * objc-act.c (objc_add_method): When emitting an error because a method with the same name but conflicting types is found in the same class or category interface, print a note with the location of the original method. Also, improved the error message to clearly state that the conflict is due to conflicting types, and produce it for protocols as well. Emit an error if two identical methods are declared in a protocol, but one is @required and the other one is @optional. When In gcc/testsuite/: 2010-12-30 Nicola Pero <nicola.pero@meta-innovation.com> * objc.dg/class-extension-3.m: Updated. * objc.dg/method-1.m: Updated. * objc.dg/method-conflict-1.m: New. * objc.dg/method-conflict-2.m: New. * obj-c++.dg/class-extension-3.mm: Updated. * obj-c++.dg/method-8.mm: Updated. * obj-c++.dg/method-conflict-1.mm: New. * obj-c++.dg/method-conflict-2.mm: New. From-SVN: r168350
Diffstat (limited to 'gcc/go/go-backend.c')
0 files changed, 0 insertions, 0 deletions