Just to close this out, it was confirmed that the current behavior in
4.2 is correct. The flag -ffriend-injection can be used to work around
it (i.e. retain the old 4.0 behavior), but fixing the code is the
better route.
Ken
On Aug 8, 2008, at 4:41 PM, Ken Worley wrote:
Hmmm, no response
Am 09.08.2008 um 16:32 schrieb Clark Cox:
On Sat, Aug 9, 2008 at 2:20 AM, Thomas Engelmeier
<[EMAIL PROTECTED]> wrote:
Am 08.08.2008 um 00:09 schrieb Ken Worley:
friend != static, and even then this probably would not be valid
semantics.
test1* tobj = newtest1(5); has nothing to do w
On Aug 11, 2008, at 6:18 PM, Jonathan Prescott wrote:
Operator signatures are already know by the compiler since they are
defined in the standard, and are really global in scope. Thus, you
don't have to declare them prior to defining them.
Huh? The operator I added as a test was certainl
here:
http://bytes.com/forum/thread828536.html
it seems gcc 4.0 had a bug which is corrected in gcc 4.2
Message: 12
Date: Sat, 9 Aug 2008 09:36:17 -0600
From: Ken Worley <[EMAIL PROTECTED]>
Subject: Re: Problem with friend function and gcc 4.2 with
To: cocoa-dev cocoa-dev
Cc: Roni M
ou can read a discussion regarding this problem here:
http://bytes.com/forum/thread828536.html
it seems gcc 4.0 had a bug which is corrected in gcc 4.2
Message: 12
Date: Sat, 9 Aug 2008 09:36:17 -0600
From: Ken Worley <[EMAIL PROTECTED]>
Subject: Re: Problem with friend function and gcc 4.2
You can read a discussion regarding this problem here:
http://bytes.com/forum/thread828536.html
it seems gcc 4.0 had a bug which is corrected in gcc 4.2
Message: 12
Date: Sat, 9 Aug 2008 09:36:17 -0600
From: Ken Worley <[EMAIL PROTECTED]>
Subject: Re: Problem with friend function and g
OTECTED]>
Subject: Re: Problem with friend function and gcc 4.2 with
objective-c++
To: cocoa-dev cocoa-dev
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=WINDOWS-1252; format=flowed;
delsp=yes
Hmmm, no response as of yet. I went ahead and submitted a bug against
Xcode: rdar://
On Sat, Aug 9, 2008 at 2:20 AM, Thomas Engelmeier
<[EMAIL PROTECTED]> wrote:
>
> Am 08.08.2008 um 00:09 schrieb Ken Worley:
>
>> Hi all,
>>
>> I'm using Xcode 3.1 and just switched to gcc 4.2 from 4.0, but I've run
>> into a problem with friend functions when compiling in objective-c++. I
>> contri
Am 08.08.2008 um 00:09 schrieb Ken Worley:
Hi all,
I'm using Xcode 3.1 and just switched to gcc 4.2 from 4.0, but I've
run into a problem with friend functions when compiling in objective-
c++. I contrived an example that illustrates the problem:
[...]
This project builds fine using gcc
ard
and gcc 4.0 did not
Rolf
Message: 10
Date: Fri, 8 Aug 2008 16:41:42 -0600
From: Ken Worley <[EMAIL PROTECTED]>
Subject: Re: Problem with friend function and gcc 4.2 with
objective-c++
To: cocoa-dev cocoa-dev
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=
Hmmm, no response as of yet. I went ahead and submitted a bug against
Xcode: rdar://6135771
We'll see what happens.
Ken
On Aug 7, 2008, at 4:09 PM, Ken Worley wrote:
Hi all,
I'm using Xcode 3.1 and just switched to gcc 4.2 from 4.0, but I've
run into a problem with friend functions when co
11 matches
Mail list logo