Bug 30610

Summary: cairo fails to compile with sun studio c
Product: cairo Reporter: Daniel Vergien <daniel.vergien>
Component: gl backendAssignee: cairo-bugs mailing list <cairo-bugs>
Status: RESOLVED MOVED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.10.0   
Hardware: Other   
OS: Solaris   
Whiteboard:
i915 platform: i915 features:
Attachments: anonymous union
name anonymous union
name anonymous union

Description Daniel Vergien 2010-10-05 01:20:31 UTC
Sun C compiler refuses to compile cairo because of an anonymous union in src/cairo-gl-private.h
Comment 1 Daniel Vergien 2010-10-05 01:23:06 UTC
Created attachment 39165 [details] [review]
anonymous union
Comment 2 Daniel Vergien 2010-10-05 01:23:52 UTC
Created attachment 39166 [details] [review]
name anonymous union
Comment 3 Daniel Vergien 2010-10-05 01:24:28 UTC
Created attachment 39167 [details] [review]
name anonymous union
Comment 4 Bryce Harrington 2015-06-26 00:23:15 UTC
These patches no longer apply to the codebase, but it looks like the issue has not been addressed in the code.  If this is still a problem with Sun C, please provide a new patch.

This patch names the union 'A', but I think a better name might be something like 'op'.  Otherwise, the patch LGTM if it fixes a still-existing issue.
Comment 5 GitLab Migration User 2018-08-25 13:29:54 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/34.

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.