Re: [Vala] Issue with abstract string interface attribute




Le lundi 17 décembre 2007 à 22:39 +0100, Emmanuel Pacaud a écrit :
Hi,

The attached sample code fails to compile correctly and crash when
executed.

valac-head interface-test-4.vala -o interface-test-4
interface-test-4.c: In function `bar_real_set_field':
interface-test-4.c:126: warning: assignment discards qualifiers from
pointer target type

./interface-test-4 
*** glibc detected *** ./interface-test-4: double free or corruption
(fasttop): 0x0804ff90 ***

Is the sample code correct? If not, what's wrong ?

I have an even simpler test case I've attached to this message.

        Emmanuel.

Attachment: property-test-1.vala
Description: Text Data



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