! 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 !
gcc warning
Status:
CLOSED: FIXED
Product:
Thunar-vfs
Component:
General

Comments

Description Jani Monoses 2006-05-03 16:13:17 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060413 Ubuntu/dapper Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060413 Ubuntu/dapper Firefox/1.5.0.1

This occurs on powerpc and amd64

thunar-vfs-job.c: In function 'thunar_vfs_job_source_dispatch':
 thunar-vfs-job.c:280: warning: passing argument 4 of 
 'g_signal_emit_valist' discards qualifiers from pointer target type

Reproducible: Always
Comment 1 Benedikt Meurer editbugs 2006-05-08 08:51:38 CEST
Created attachment 540 
This should do the trick
Comment 2 Jani Monoses 2006-05-08 08:57:40 CEST
I don't have a ppc or amd64 to test this on as the warings were seen on ubuntu build servers.
BTW those volatiles you recently added to fix the 'hang on copy unless mouse moves' bugs. Were they not actually needed there?
Comment 3 Benedikt Meurer editbugs 2006-05-08 09:00:52 CEST
It should work without.
Comment 4 Brian J. Tarricone (not reading bugmail) 2006-05-14 09:17:39 CEST
Confirmed this patch fixes the warning on ppc.
Comment 5 Benedikt Meurer editbugs 2006-05-14 11:05:48 CEST
Committed with revision 21655.

2006-05-14	Benedikt Meurer <benny@xfce.org>

	* thunar-vfs/thunar-vfs-job.c: Fix compile warning. Bug #1756.

Bug #1756

Reported by:
Jani Monoses
Reported on: 2006-05-03
Last modified on: 2010-11-07

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Version:
unspecified

Attachments

This should do the trick (888 bytes, patch)
2006-05-08 08:51 CEST , Benedikt Meurer
no flags

Additional information