• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Distributed Objects between cats
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Distributed Objects between cats


  • Subject: Re: Distributed Objects between cats
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Wed, 10 Aug 2005 19:26:14 +0200


On 10.08.2005, at 17:03, email@hidden wrote:

Try to build both with gcc3.3 or gcc4.0 but no a mix of the two. It does not seem related to which OS you use, but wich compiler...

Please report back if it is the problem.

You are correct.
I tried /usr/bin/g++-3.3 on Tiger and it generates (in the __cat_inst_meth section) ...4nO...
whereas gcc4.0 produces ...4On...


Now: Is this a feature or a bug?

Kind regards,

Gerriet.


On 9 août 05, at 17:17, Gerriet M. Denkmann wrote:

I have a server which has a method called:
    - (void)openFile: (bycopy in NSString *)fileName  atCharRange:
(NSRange)charRange;

When I compile this server on Panther I get:
    Proto-Methods:
        openFile:atCharRange: (v20@0:4nO@8{_NSRange=II}12)

When I compile this server on Tiger I get:
    Proto-Methods:
        openFile:atCharRange: (v20@0:4On@8{_NSRange=II}12)

Note the difference: 4On versus 4nO.

Now, when a Tiger-compiled client calls a Panther-compiled server
(both running on the same computer) I get a console message:
     ...
_preInitWithCoder:signature:valid:wireSignature:target:selector:argCou
nt:
    incompatible method params:
    got  NSMethodSignature: types=v@:On@{_NSRange=II} nargs=4
sizeOfParams=160 returnValueLength=0;
    want NSMethodSignature: types=v@:nO@{_NSRange=II} nargs=4
sizeOfParams=160 returnValueLength=0;

Similar with the other cat-combination (client compiled on Pather,
server compiled on Tiger).

What can I do to make Distributed Objects between different cats
possible?

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Distributed Objects between cats
      • From: Chris Kane <email@hidden>
    • Re: Distributed Objects between cats
      • From: email@hidden
  • Prev by Date: Changing the Cross-dev SDK for just one target?
  • Next by Date: Re: Help Viewer not scrolling to anchors
  • Previous by thread: Re: Distributed Objects between cats
  • Next by thread: Re: Distributed Objects between cats
  • Index(es):
    • Date
    • Thread