Re: Warnings in latest Glib
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Warnings in latest Glib
- Date: Sun, 20 Apr 2008 18:25:15 +0200
Yaakov (Cygwin Ports) wrote:
GBoxed.xs:642: In function `XS_Glib__Boxed_copy':
GBoxed.xs:682: In function `XS_Glib__Boxed_DESTROY':
GType.xs:2716: In function `XS_Glib__Flags_as_arrayref':
GType.xs:2736: In function `XS_Glib__Flags_eq':
GType.xs:2763: In function `XS_Glib__Flags_union':
"warning: assignment discards qualifiers from pointer target type"
These all refer to code that uses sv_reftype and which expects it to
return a char*. And that's what sv_reftype's prototype says, too:
#define sv_reftype Perl_sv_reftype
PERL_CALLCONV char* Perl_sv_reftype(pTHX_ SV* sv, int ob)
It seems that your perl is different. But anyway, I think these
warnings are harmless.
--
-Torsten
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]