[Thunar-dev] compiler warning (failed compile
Brian J. Tarricone
bjt23 at cornell.edu
Sun May 14 09:54:09 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
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.
-brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFEZuIh6XyW6VEeAnsRA5/aAJsEao3npd/NpfaxeZthTX6X7JhpxQCgntG0
Mt1jbtMvRB3aGHjiWZP5r+Y=
=eGS1
-----END PGP SIGNATURE-----
More information about the Thunar-dev
mailing list