Is this a Pulseaudio bug or a Vala bug? (v2)

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

 



Hi,

I've got another problem with Vala and Pulseaudio's official Vala bindings.

This is my source code:

	$ cat test.vala 
	class MyClass : Object {
		PulseAudio.ChannelMap map;
		static void main(){
		}
	}
	$

Compiling it fails:

	$ valac --pkg=libpulse --vapidir=. test.vala
	test.vala:2.2-2.26: warning: field `MyClass.map' never used
		PulseAudio.ChannelMap map;
		^^^^^^^^^^^^^^^^^^^^^^^^^
	/tmp/ccCFqscK.o: In function `myclass_finalize':
	test.vala.c:(.text+0x152): undefined reference to `pulse_audio_channel_map_destroy'
	collect2: ld returned 1 exit status
	error: cc exited with status 256
	Compilation failed: 1 error(s), 1 warning(s)
	$ 

I thought this was a bug in Vala, since valac accepted the code but gcc
threw an error. I reported this to the Debian BTS[1] and was told that
this is a bug in the bindings which I doubt[3].

Can anybody confirm (or deny) that this is *not* a Pulseaudio bug?

Best regards

Alexander Kurtz

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619345
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619345#10
[3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619345#15
-------------- 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.freedesktop.org/archives/pulseaudio-discuss/attachments/20110330/5d6bd413/attachment.pgp>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux