Bug 13617 - Fail to build latest cairo on solaris
Summary: Fail to build latest cairo on solaris
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.5.5
Hardware: SPARC Solaris
: medium normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-12 02:02 UTC by Boying Lu
Modified: 2007-12-12 02:38 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
patch (509 bytes, patch)
2007-12-12 02:03 UTC, Boying Lu
Details | Splinter Review

Description Boying Lu 2007-12-12 02:02:17 UTC
When I build cairo with latest code on sparc, I got following error:
"cairo-paginated-surface.c", line 52: only identifiers with external linkage may have linker scoping: cairo_paginated_surface_backend

This is a declaration:
static const cairo_private cairo_surface_backend_t cairo_paginated_surface_backend;

cairo_private is defined as "__hidden" on solaris and 
"__attribute__((__visibility__("hidden"))" on Linux ( a gcc specific feature)

There is a conflict between 'static' and cairo_private, cairo_private should be removed in this case
Comment 1 Boying Lu 2007-12-12 02:03:41 UTC
Created attachment 13062 [details] [review]
patch


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.