! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
'const' appears twice on exo-icon-chooser-dialog.c, line 82
Status:
CLOSED: FIXED

Comments

Description Matt McClinch 2006-08-26 19:06:46 CEST
libexo r22889 won't build for me, because the word 'const' appears twice on line 82 of exo-icon-chooser-dialog.c.  Removing the second 'const' solves the problem.
Comment 1 Matt McClinch 2006-08-26 19:08:11 CEST
Created attachment 748 
This patch removes the second 'const'
Comment 2 Benedikt Meurer editbugs 2006-08-26 19:29:06 CEST
Hm, which gcc version?
Comment 3 Matt McClinch 2006-08-26 20:04:48 CEST
gcc -v tells me this:

gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)

but according to emerge, I have the 3.4.6 package installed.  Interesting.

Anyway, gcc only gives a warning, but warnings stop the build process.
Comment 4 Benedikt Meurer editbugs 2006-08-26 20:08:33 CEST
Fixed with revision 22890.

2006-08-26	Benedikt Meurer <benny@xfce.org>

	* exo/exo-icon-chooser-dialog.c(CONTEXT_TITLES): Apply patch from
	  Matt McClinch <mattmcclinch@gmail.com> to fix a warning with older
	  compilers. Bug #2223.

Bug #2223

Reported by:
Matt McClinch
Reported on: 2006-08-26
Last modified on: 2009-10-09

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
unspecified

Attachments

This patch removes the second 'const' (389 bytes, patch)
2006-08-26 19:08 CEST , Matt McClinch
no flags

Additional information