On 11/10/05, Landry Breuil <[EMAIL PROTECTED]> wrote: > Hello ! > > I've tried the latest snapshot (Thunar-0.1.3svn-r00141.tar.bz2), and the > compilation fails with this error : > > cc1: warnings being treated as errors > thunar-vfs-monitor.c: In function 'IA__thunar_vfs_monitor_add_directory': > thunar-vfs-monitor.c:473: warning: unused variable 'absolute_path' > thunar-vfs-monitor.c: In function 'IA__thunar_vfs_monitor_add_file': > thunar-vfs-monitor.c:528: warning: unused variable 'absolute_path' > make[3]: *** [libthunar_vfs_1_la-thunar-vfs-monitor.lo] Erreur 1 > > If i patch thunar-vfs/Makefile and remove the -Werror, it finishes to > compile, and everything's okay. > > I've tried to comment the two declarations in > thunar-vfs/thunar-vfs-monitor.c, and the next error is : > > cc1: warnings being treated as errors > thunar-vfs-thumb.c: In function > 'IA__thunar_vfs_thumb_factory_generate_thumbnail': > thunar-vfs-thumb.c:622: warning: unused variable 'script' > > I commented this declaration too, and it compiles and run :-)
You should probably just pass --disable-debug to configure/autogen.sh instead of editing your Makefile. But don't do that, at least not without mentioning any build errors you discover first > > Dunno if it's a bug (i don't think so, but it may be useful to you), or > if it depends of my system : > gcc version 4.0.3 20051023 (prerelease) (Debian 4.0.2-3) > libexo from svn rev 18775 > > > Landry > _______________________________________________ > Thunar-dev mailing list > [email protected] > http://foo-projects.org/mailman/listinfo/thunar-dev > -- Erik "If Beethoven had been killed in a plane crash at the age of 22, it would have changed the history of music... and of aviation." _______________________________________________ Thunar-dev mailing list [email protected] http://foo-projects.org/mailman/listinfo/thunar-dev
