This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
eb32
- To: egcs-patches at cygnus dot com
- Subject: eb32
- From: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Sat, 30 May 1998 14:41:56 +0200
To remove the remaining warning, I changed the return type of foo.
Martin
Index: eb32.C
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.robertl/eb32.C,v
retrieving revision 1.1
diff -c -p -r1.1 eb32.C
*** eb32.C 1998/05/27 23:00:35 1.1
--- eb32.C 1998/05/30 12:33:58
*************** public:
*** 6,12 ****
void A::malloc(unsigned int) {}
! int foo() {
A a;
a.malloc(3); // <-- line 10
}
--- 6,12 ----
void A::malloc(unsigned int) {}
! void foo() {
A a;
a.malloc(3); // <-- line 10
}