discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Possible MacOS X compier problem


From: Marcus Müller
Subject: Re: Possible MacOS X compier problem
Date: Wed, 23 Jul 2003 11:41:44 +0200


On Monday, July 21, 2003, at 2:27 AM, Bill Northcott wrote:

The following code works with the FSF compiler but not with the recent
(gcc-1465) Apple version.
        return [[[ArchiverQuoted createBegin: aZone]
                 setQuotedObject: [self getExpr]]
                  createEnd];
When built with the Apple compiler the code never returns from
setQuotedObject and CreateEnd is never called.  Execution sort of drops
through.  It may be important that this code is in the getExpr method
which is being called recursively to parse a Lisp data file.

Ok, one thought - the method setQuotedObject is probably something like

- (void)setQuotedObject:(id)anObject

or isn't it? Then the result of the above concatenation would be highly architecture dependent I think. It probably works on ix86 because the arguments are passed on the stack and not in registers, but that's rather a guess.

Cheers,

  Marcus

--
Marcus Mueller  .  .  .  crack-admin/coder ;-)
Mulle kybernetiK  .  http://www.mulle-kybernetik.com
Current projects: finger znek@mulle-kybernetik.com





reply via email to

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