Bug 9122 - inline keyword is not recognize by native compiler
Summary: inline keyword is not recognize by native compiler
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.2.6
Hardware: x86 (IA32) IRIX
: high normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-22 02:06 UTC by Christoph Bauer
Modified: 2012-02-10 12:17 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.