[Thunar-dev] compiler warning (failed compile

Benedikt Meurer benny at xfce.org
Sun May 14 10:37:13 CEST 2006


Brian J. Tarricone wrote:
> Hey Benny,
> 
> Here's a fun one:
> 
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DEXO_API_SUBJECT_TO_CHANGE
> -DEXO_DISABLE_DEPRECATED -DG_LOG_DOMAIN=\"thunar-vfs\"
> -DLIBEXECDIR=\"/opt/xfce4-svn/libexec\" -DSN_API_NOT_YET_FROZEN
> -DTHUNAR_VFS_COMPILATION -DTHUNAR_VFS_VERSION_API=\"1\"
> -DHAVE_GNUC_VISIBILITY -I/opt/xfce4-svn/include/exo-0.3
> -I/opt/xfce4-svn/include/xfce4 -I/usr/include/gtk-2.0
> -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -DORBIT2=1 -pthread -I/usr/include/gconf/2
> -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/fam -I/usr/include/libpng12
> -I/usr/include/startup-notification-1.0 -fno-strict-aliasing -Werror
> -Wall -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal
> -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
> -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -MT
> libthunar_vfs_1_la-thunar-vfs-job.lo -MD -MP -MF
> .deps/libthunar_vfs_1_la-thunar-vfs-job.Tpo -c thunar-vfs-job.c  -fPIC
> -DPIC -o .libs/libthunar_vfs_1_la-thunar-vfs-job.o
> thunar-vfs-job.c: In function `thunar_vfs_job_source_dispatch':
> thunar-vfs-job.c:280: warning: passing arg 4 of `g_signal_emit_valist'
> discards qualifiers from pointer target type
> gmake[3]: *** [libthunar_vfs_1_la-thunar-vfs-job.lo] Error 1
> 
> Not really sure how to fix it myself.  Arg 4 calls for va_list, and
> that's what you're passing, AFAICT.  Using gcc 3.4.6.

See http://bugzilla.xfce.org/show_bug.cgi?id=1756

> 	-brian

Benedikt
-- 
Xfce  --  small, stable, fast  --  http://www.xfce.org/

          (__)
          (oo)
    /------\/
   / |    ||
  *  /\---/\
     ~~   ~~
...."Have you mooed today?"...



More information about the Thunar-dev mailing list