Re: Warnings in latest Glib



Yaakov (Cygwin Ports) wrote:

The Cygwin perl 5.10.0 <proto.h> has:

PERL_CALLCONV const char*   Perl_sv_reftype(pTHX_ const SV* sv, int ob)

Ah, I see.  Since assigning a char* to a const char* shouldn't cause
compiler warnings (it doesn't here, at least) and since we don't
actually modify the string, I changed all occurences to use const char*.
 Thanks!

-- 
Bye,
-Torsten



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]