Bug 9122

Summary: inline keyword is not recognize by native compiler
Product: cairo Reporter: Christoph Bauer <Christoph.Bauer>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: high    
Version: 1.2.6   
Hardware: x86 (IA32)   
OS: IRIX   
Whiteboard:
i915 platform: i915 features:

Description Christoph Bauer 2006-11-22 02:06:23 UTC
I had to add

#define inline

in config.h to compile cairo-1.2.6
Comment 1 Behdad Esfahbod 2006-11-22 10:12:22 UTC
Actually we can get rid of all the current inlines in the cairo/src/ code.  All
they are doing is marking small static functions as inline.  Something that the
compiler can decide to do anyway.  None of them speed-critical code either.  I'm
for removing them simply.  Carl?
Comment 2 Uli Schlachter 2012-02-10 12:17:47 UTC
commit 0d9b2d041578c183b026b90c3760ce8dc59e2834
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Sun Dec 17 14:09:15 2006 -0500

    [configure] Use AC_C_INLINE to correctly define inline
    
    Previously we were defining a symbol INLINE and use that in one place, while
    other places were using straight inline.  With the AC_C_INLINE macro we can
    just leave it to autoconf to correctly choose what inline should be defined
    to.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.