Summary: | Can't build cairo-1.1.2 on opensolaris due to " void function cannot return value" | ||
---|---|---|---|
Product: | cairo | Reporter: | Yandong Yao <yandong.yao> |
Component: | general | Assignee: | Carl Worth <cworth> |
Status: | RESOLVED FIXED | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | normal | ||
Priority: | high | CC: | yandong.yao |
Version: | 1.1.2 | ||
Hardware: | SPARC | ||
OS: | Solaris | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Yandong Yao
2006-04-30 12:04:36 UTC
Fixed in the latest 1.1.3. -Carl commit 32f120e4888fd9344f699fd47c1aea6a5ec3df8e Author: Carl Worth <cworth@cworth.org> Date: Mon May 1 15:12:46 2006 -0700 Don't return void from void-returning function (fix #6792). It's a dumb part of the C standard and it's even dumber when compilers are picky about it. But oh, well. diff --git a/src/cairo-paginated-surface.c b/src/cairo-paginated-surface.c index 080102b..cbb217d 100644 --- a/src/cairo-paginated-surface.c +++ b/src/cairo-paginated-surface.c @@ -329,7 +329,7 @@ _cairo_paginated_surface_get_font_option { cairo_paginated_surface_t *surface = abstract_surface; - return cairo_surface_get_font_options (surface->target, options); + cairo_surface_get_font_options (surface->target, options); } static cairo_int_status_t |
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.