After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 309785 - void function returns value - breaks on Solaris
void function returns value - breaks on Solaris
Status: RESOLVED FIXED
Product: GtkHtml
Classification: Other
Component: html-editor-control
unspecified
Other Solaris
: Normal normal
: ---
Assigned To: gtkhtml-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2005-07-08 09:25 UTC by Damien Carbery
Modified: 2005-07-11 04:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Remove 'return' keyword from void function in htmlpainter.c (369 bytes, patch)
2005-07-08 09:26 UTC, Damien Carbery
committed Details | Review

Description Damien Carbery 2005-07-08 09:25:03 UTC
Version details: 3.6.2
Distribution/Version: 10 x86

void html_painter_set_widget (HTMLPainter *painter, GtkWidget *widget)
returns a value thus breaking the build on Solaris (latest x86 Forte compiler)

pkgbuild: "htmlpainter.c", line 973: void function cannot return value
pkgbuild: cc: acomp failed for htmlpainter.c

Attached patch simply removes the 'return' keyword.
Comment 1 Damien Carbery 2005-07-08 09:26:56 UTC
Created attachment 48821 [details] [review]
Remove 'return' keyword from void function in htmlpainter.c
Comment 2 Kaushal Kumar 2005-07-08 12:54:54 UTC
Looks okay. Please commit with a changelog entry in Head. Thanks.
Comment 3 Damien Carbery 2005-07-08 15:59:14 UTC
I don't have a public SSH key set up anywhere so can you please commit the patch.
Comment 4 Kaushal Kumar 2005-07-11 04:22:49 UTC
Sure, committed now. Thanks.