[alsa-devel] [PATCH] salsa-lib: Fix error on jack compilation with salsa

Gabriel M. Beddingfield gabrbedd at gmail.com
Sat Mar 30 20:11:27 CET 2013

On 03/20/2013 09:37 AM, Takashi Iwai wrote:
> At Sun, 17 Mar 2013 15:13:00 +0000,
> Mihail Zenkov wrote:
>> Fix error on jack compilation with salsa:
>> /usr/include/alsa/ctl_macros.h:251:48: error: invalid conversion from
>> 'void*' to 'snd_ctl_elem_id_t* {aka snd_ctl_elem_id*}' [-fpermissive]
> I don't get it.  Is it C++?  But I thought the code is in extern "C"
> region?

Yes, it's C++.  'extern "C"' only declares the linkage convention.  It 
does not affect casting rules/conventions.


More information about the Alsa-devel mailing list