
30 Mar
2013
30 Mar
'13
9:11 p.m.
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.
-gabriel