[cairo-bugs] [Bug 13617] New: Fail to build latest cairo on solaris

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 12 02:02:19 PST 2007


http://bugs.freedesktop.org/show_bug.cgi?id=13617

           Summary: Fail to build latest cairo on solaris
           Product: cairo
           Version: 1.5.5
          Platform: SPARC
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: brian.lu at sun.com
         QAContact: cairo-bugs at cairographics.org


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


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the cairo-bugs mailing list