swarm-support
[Top][All Lists]
Advanced

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

Re: fewer Objective C messages within Swarm


From: pauljohn
Subject: Re: fewer Objective C messages within Swarm
Date: Sun, 08 Jul 2001 12:48:48 -0500

Its weird. I can apply the patch you posted this morning, the "classname
patch" without any fuss.  But if I try to apply this one, either before
or after, it won't work, it gets rejected.  (on linux, it complains
about invalid context line 3, on windows it complains that the patch has
already been applied).

So I'm going to edit the file by hand and make a new patch that also has
the classname patch in it.  Can I be sure I've got this right?  After
patching, the relevant lines look like:

  char *buf;

  /* Synth the storage class & assemble the return type.  */
#if 0
  sc_spec = tree_cons (NULL_TREE, ridpointers[(int) RID_STATIC],
NULL_TREE);
#if 1
  sc_spec = tree_cons (NULL_TREE, ridpointers[(int) RID_EXTERN],
NULL_TREE);
#endif
  ret_spec = TREE_PURPOSE (TREE_TYPE (method));
  decl_specs = chainon (sc_spec, ret_spec);



"Marcus G. Daniels" wrote:
> 

> A hassle is that it requires this compiler patch.
> (made against GCC 3.0)
> 
> *** /home/mgd/objc-act.c        Fri Jul  6 17:30:03 2001
> --- objc-act.c  Thu Jun 14 19:08:40 2001
> ***************
> *** 7119,7129 ****
>     char *buf;
> 
>     /* Synth the storage class & assemble the return type.  */
> - #if 0
>     sc_spec = tree_cons (NULL_TREE, ridpointers[(int) RID_STATIC], NULL_TREE);
> - #else
> -   sc_spec = tree_cons (NULL_TREE, ridpointers[(int) RID_EXTERN], NULL_TREE);
> - #endif
>     ret_spec = TREE_PURPOSE (TREE_TYPE (method));
>     decl_specs = chainon (sc_spec, ret_spec);
> 
> --- 7119,7125 ----

-- 
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ukans.edu/~pauljohn
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045                FAX: (785) 864-5700

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

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