PATCH: Find more ObjC methods (take 2)

Gabriel Dos Reis gdr@integrable-solutions.net
Fri Oct 3 22:27:00 GMT 2003


Ziemowit Laski <zlaski@apple.com> writes:

| On Friday, Oct 3, 2003, at 15:05 US/Pacific, Devang Patel wrote:
| 
| >
| > On Oct 3, 2003, at 2:55 PM, Ziemowit Laski wrote:
| >
| >> + /* Retrieve category interface CAT_NAME (if any) associated with
| >> CLASS.  */
| >> +
| >> + static tree
| >> + lookup_category (tree class, tree cat_name)
| >
| > Why not 'static inline' ?
| 
| We could do that, but how would a non-C99 compiler react to this if
| we're not bootstrapping? :-)

We already do that elsewhere in the compiler -- grep for inline in gcc/*.h.
The compiler is configured so that if a bootstrapping compiler does
not support  "inline", then "inline" is a no-op.  See
include/ansidecl.h 

-- Gaby



More information about the Gcc-patches mailing list