Re: gtk2-perl CVS 20021017
- From: Goran Thyni <goran kirra net>
- To: Dermot Musgrove <dermot glade perl connectfree co uk>
- Cc: Guillaume Cottenceau <gc mandrakesoft com>, gtk-perl-list gnome org
- Subject: Re: gtk2-perl CVS 20021017
- Date: Sun, 20 Oct 2002 11:51:02 +0200
Dermot, Guillaume,
I will remove -Werror since it is obviously not compatible
with some versions of perl.
This is the new line:
OPTIMIZE => $ENV{GTK2_PERL_CFLAGS} || '-g -Wall -Wstrict-prototypes',
By setting the GTK2_PERL_CFLAGS environment variable
we could override the default line on the fly.
Hope this make everbody happy,
/göran
On Sun, Oct 20, 2002 at 04:01:52AM +0100, Dermot Musgrove wrote:
Guillaume Cottenceau wrote:
[...]
Current CVS should not contain gtk2-perl-helpers.h anymore,
anyway, it has been splitted.
Yes, I have the new setup now but I cannot compile any widgets.
I run a Mandrake 8 setup with glibc-2.2.2 and perl-5.6.0 and I reckon
that this is the problem.
I will have to get a new libc.so.6(GLIBC_2.2.4) for the Mandrake package
of perl-5.8.0 which is a bit too much work for me until I can install a
new dist or recompile perl from scratch?
The actual error messages for Gtk2::Container are:
/usr/bin/perl /usr/lib/perl5/5.6.0/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.6.0/ExtUtils/typemap Container.xs > Container.xsc && mv
Container.xsc Cont
ainer.c
cc -c -I/home/dermot/Devel/sourceforge/gtk2-perl
-I../../../../Gtk2/include -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/
usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fno-strict-aliasing
-g -Wall -W
error -DVERSION=\"0.00\" -DXS_VERSION=\"0.00\" -fpic
"-I/usr/lib/perl5/5.6.0/i386-linux/CORE" Container.c
cc1: warnings being treated as errors
Container.c: In function `XS_Gtk2__Container_add':
Container.c:37: warning: unused variable `Perl___notused'
Container.c: In function `XS_Gtk2__Container_set_border_width':
Container.c:65: warning: unused variable `Perl___notused'
Container.c: In function `boot_Gtk2__Container':
Container.c:96: warning: unused variable `Perl___notused'
make: *** [Container.o] Error 1
I managed to get several widgets to compile by removing the -Werror
from the widget.pm file's OPTIMIZE line. I see that you have now moved
all this to Gtk2/_config.pm (brilliant idea) so I removed the -Werror
there and it all works again :)
Is there an easy way to omit 'unused-variable' warnings without losing
the others?
Best regards, Dermot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]