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

Takashi Iwai tiwai at suse.de
Tue Apr 2 11:46:59 CEST 2013


At Sat, 30 Mar 2013 12:11:27 -0700,
Gabriel M. Beddingfield wrote:
> 
> 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.

Ah, I see.

I seem to have lost the original patch...  Mihail, could you resend
it?


thanks,

Takashi


More information about the Alsa-devel mailing list