[Pkg-vala-maintainers] Bug#619345: Bug#619345: valac produces invalid c-code when using pulseaudio's official bindings

Alexander Kurtz kurtz.alex at googlemail.com
Thu Apr 14 16:10:38 UTC 2011


# things are still broken ...
reopen 619345

# ... but it's (mostly) PA's and not Vala's fault
reassign 619345 pulseaudio

# PA's Vala bindings aren't currently included in any binary package, 
# so merge this with the corresponding bug report
forcemerge 616535 619345
thanks

Hi,

I've received some feedback[1], here's a quick status update:

Am Mittwoch, den 23.03.2011, 13:28 +0100 schrieb Alexander Kurtz:
>  (1) valac doesn't fail if you try to put a dynamically-sized array 
>      into a struct

I came to the conclusion that this is not really a bug. Vala can
perfectly handle dynamically-sized arrays in structs.

>  (2) valac doesn't allow adding a destructor function to a struct

Probably not a bug either, structs aren't classes after all.

>  (3) valac doesn't allow making fixed-sized arrays from constants.
>      This is absolutely necessary since there are no preprocessor 
>      directives in vala and most C libraries define symbolic names
>      for these things.

https://bugzilla.gnome.org/show_bug.cgi?id=647788

>  (4) valac doesn't handle fixed-size arrays correctly, as it still
>      thinks they need to freed after use.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622773

Best regards

Alexander Kurtz

[1] https://tango.0pointer.de/pipermail/pulseaudio-discuss/2011-March/009695.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-vala-maintainers/attachments/20110414/b72babeb/attachment.pgp>


More information about the Pkg-vala-maintainers mailing list