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 558451 - Cannot build GIMP using Sun CC on Solaris 2.8
Cannot build GIMP using Sun CC on Solaris 2.8
Status: VERIFIED FIXED
Product: GIMP
Classification: Other
Component: General
2.6.1
Other Solaris
: Normal normal
: 2.6
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2008-10-29 21:07 UTC by Eric Lamarque
Modified: 2008-11-05 22:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Remove const keyword in gimpoperationtilesink.c (493 bytes, patch)
2008-10-29 21:10 UTC, Eric Lamarque
committed Details | Review
Remove a const keyword in gimpoperationtilesource.c (466 bytes, patch)
2008-10-29 21:11 UTC, Eric Lamarque
committed Details | Review
Remove const keyword in gimp-pdb-compat.c (303 bytes, patch)
2008-10-29 21:12 UTC, Eric Lamarque
committed Details | Review
Remove const keyword in gimpgegltool.c (318 bytes, patch)
2008-10-29 21:13 UTC, Eric Lamarque
committed Details | Review

Description Eric Lamarque 2008-10-29 21:07:24 UTC
Please describe the problem:
The build using Sun Workshop 6.2 compiler fails due to incorrect 'const' usage.

Steps to reproduce:
1. ./configure
2. make



Actual results:
The build triggers errors on const variables initialized with non const values or used in non const context

Expected results:
A fresh gimp-2.6!

Does this happen every time?
Yes

Other information:
GTK+ 2.14.4
GLIB 2.18.1
Comment 1 Eric Lamarque 2008-10-29 21:10:20 UTC
Created attachment 121604 [details] [review]
Remove const keyword in gimpoperationtilesink.c
Comment 2 Eric Lamarque 2008-10-29 21:11:16 UTC
Created attachment 121605 [details] [review]
Remove a const keyword in gimpoperationtilesource.c
Comment 3 Eric Lamarque 2008-10-29 21:12:11 UTC
Created attachment 121606 [details] [review]
Remove const keyword in gimp-pdb-compat.c
Comment 4 Eric Lamarque 2008-10-29 21:13:21 UTC
Created attachment 121607 [details] [review]
Remove const keyword in gimpgegltool.c
Comment 5 Sven Neumann 2008-10-29 22:25:47 UTC
Next time, please attach a single patch if the changes are that small. Committed to trunk and merged to gimp-2-6:

2008-10-29  Sven Neumann  <sven@gimp.org>

	Bug 558451 – Cannot build GIMP using Sun CC on Solaris 2.8

	* app/pdb/gimp-pdb-compat.c
	* app/gegl/gimpoperationtilesink.c
	* app/gegl/gimpoperationtilesource.c
	* app/tools/gimpgegltool.c: applied patches from Eric Lamarque
	fixing the build using Sun CC on Solaris.