[Vala] Issue with abstract string interface attribute



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 ?

        Regards,

                Emmanuel.

Attachment: interface-test-4.vala
Description: Text Data



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