This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: (971122) i386-linux-gnulibc1 test results
- To: khan at xraylith dot wisc dot edu (Mumit Khan)
- Subject: Re: (971122) i386-linux-gnulibc1 test results
- From: hjl at lucon dot org (H.J. Lu)
- Date: Sun, 23 Nov 1997 17:55:57 -0800 (PST)
- Cc: egcs at cygnus dot com
> FAIL: g++.mike/p9732b.C (test for excess errors)
>
Here is the error message:
Executing on host: /home/work/gnu/bin/egcs/gcc/testsuite/../xgcc
-B/home/work/gnu/bin/egcs/gcc/testsuite/../
/home/work/gnu/src/egcs/gcc/testsuite/g++.old-deja/g++.mike/p9732b.C
-ansi -pedantic-errors -I/home/work/gnu/src/egcs/libio
-I/home/work/gnu/bin/egcs/libio -I/home/work/gnu/src/egcs/libg++
-I/home/work/gnu/src/egcs/libg++/src -I/home/work/gnu/src/egcs/libstdc++
-I/home/work/gnu/src/egcs/libstdc++/stl
-I/home/work/gnu/bin/egcs/gcc/testsuite/../include -lstdc++
-L/home/work/gnu/bin/egcs//libg++ -L/home/work/gnu/bin/egcs//libstdc++
-L/home/work/gnu/bin/egcs//libiberty -lm -o /tmp/a.out
/home/work/gnu/src/egcs/gcc/testsuite/g++.old-deja/g++.mike/p9732b.C: In
method `D::~D()':
/home/work/gnu/src/egcs/gcc/testsuite/g++.old-deja/g++.mike/p9732b.C:24:
implicit declaration of function `int _exit(...)'
Here is the patch.
H.J.
---
Sun Nov 23 17:53:35 1997 H.J. Lu (hjl@gnu.org)
* g++.old-deja/g++.mike/p9732b.C (_exit): Declared.
Index: g++.old-deja/g++.mike/p9732b.C
===================================================================
RCS file: /home/work/cvs/gnu/egcs/gcc/testsuite/g++.old-deja/g++.mike/p9732b.C,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 p9732b.C
--- p9732b.C 1997/11/23 21:13:17 1.1.1.2
+++ p9732b.C 1997/11/24 01:50:31
@@ -3,6 +3,8 @@
int count;
int bail = 0;
+extern "C" void _exit (int);
+
struct base {
base () { ++count; }
~base () { --count; }