This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Fix obj-c++.dg/defs.mm
- From: Jakub Jelinek <jakub at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 16 Jul 2009 15:22:04 +0200
- Subject: [committed] Fix obj-c++.dg/defs.mm
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
I've committed the following patch to fix:
FAIL: obj-c++.dg/defs.mm (test for excess errors)
WARNING: obj-c++.dg/defs.mm compilation failed to produce executable
introduced by recent
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149638
commit (which had similar fixes for C++ testsuite, just not Obj-C++).
2009-07-16 Jakub Jelinek <jakub@redhat.com>
* obj-c++.dg/defs.mm (abort): Make it extern "C".
--- gcc/testsuite/obj-c++.dg/defs.mm.jj 2008-09-30 16:55:41.000000000 +0200
+++ gcc/testsuite/obj-c++.dg/defs.mm 2009-07-16 13:02:58.000000000 +0200
@@ -8,7 +8,7 @@
#include <objc/objc.h>
#include <objc/Object.h>
-extern void abort(void);
+extern "C" void abort(void);
@interface A : Object
{
Jakub