From: Paul K. <pv...@pv...> - 2010-03-09 02:25:37
|
On 2010-03-08, at 3:48 PM, Eric Marsden wrote: > With the attached patch, SBCL builds using the clang C compiler (v1.0 > Linux/AMD64) on my machine. find_page_index should be marked "extern", > since it is alien called from room.lisp. [...] > -inline page_index_t find_page_index(void *); > +extern inline page_index_t find_page_index(void *); [...] > -inline page_index_t > +extern inline page_index_t > find_page_index(void *addr) > { Are the interactions between extern and inline defined (and satisfying) for pre-C99? I'm fairly certain that this is right for C99 (in fact, the extern in the definition is optional), but I don't remember ever seeing "extern inline" in C89 code. Paul Khuong |