octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ov-classdef.h:808:3: error: a class-key must be used when declaring


From: Ben Abbott
Subject: Re: ov-classdef.h:808:3: error: a class-key must be used when declaring a friend
Date: Fri, 11 Jan 2013 17:09:28 -0500

On Jan 11, 2013, at 4:40 PM, Jordi GutiƩrrez Hermoso wrote:

> On 11 January 2013 16:31, Ben Abbott <address@hidden> wrote:
>> For gcc 4.5 from Macports on MacOS X 10.7.5 I need the following change 
>> (changeset is attached also)
>> 
>> diff --git a/libinterp/octave-value/ov-classdef.h 
>> b/libinterp/octave-value/ov-classdef.h
>> --- a/libinterp/octave-value/ov-classdef.h
>> +++ b/libinterp/octave-value/ov-classdef.h
>> @@ -805,7 +805,7 @@
>> class
>> cdef_property : public cdef_object
>> {
>> -  friend cdef_class;
>> +  friend class cdef_class;
>> 
>> private:
>> 
>> @@ -892,7 +892,7 @@
>> class
>> cdef_method : public cdef_object
>> {
>> -  friend cdef_class;
>> +  friend class cdef_class;
>> 
>> private:
>> 
>> @@ -1068,7 +1068,7 @@
>> class
>> cdef_package : public cdef_object
>> {
>> -  friend cdef_class;
>> +  friend class cdef_class;
>> 
>> private:
> 
> This is fine, go ahead and push it.
> 
> - Jordi G. H.

Done.

        http://hg.savannah.gnu.org/hgweb/octave/rev/f97a746e4544

Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]