Bug 30610 - cairo fails to compile with sun studio c
Summary: cairo fails to compile with sun studio c
Status: RESOLVED MOVED
Alias: None
Product: cairo
Classification: Unclassified
Component: gl backend (show other bugs)
Version: 1.10.0
Hardware: Other Solaris
: medium normal
Assignee: cairo-bugs mailing list
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-05 01:20 UTC by Daniel Vergien
Modified: 2018-08-25 13:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
anonymous union (14.44 KB, patch)
2010-10-05 01:23 UTC, Daniel Vergien
Details | Splinter Review
name anonymous union (305 bytes, patch)
2010-10-05 01:23 UTC, Daniel Vergien
Details | Splinter Review
name anonymous union (1.45 KB, patch)
2010-10-05 01:24 UTC, Daniel Vergien
Details | Splinter Review

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.