This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: eb32


> To remove the remaining warning, I changed the return type of foo.

Committed.   Thank you.

> 
> 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
>   }

-- 
Robert Lipe       http://www.dgii.com/people/robertl       robertl@dgii.com
              (WEB ADDRESS MAY BE TEMPORARILY UNAVAILABLE)




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]