Bug 13617

Summary: Fail to build latest cairo on solaris
Product: cairo Reporter: Boying Lu <brian.lu>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.5.5   
Hardware: SPARC   
OS: Solaris   
Whiteboard:
i915 platform: i915 features:
Attachments: patch

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.