From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Gabriel M. Beddingfield" Subject: Re: [PATCH] salsa-lib: Fix error on jack compilation with salsa Date: Sat, 30 Mar 2013 12:11:27 -0700 Message-ID: <515738DF.3040301@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pb0-f42.google.com (mail-pb0-f42.google.com [209.85.160.42]) by alsa0.perex.cz (Postfix) with ESMTP id 6FF2026164B for ; Sat, 30 Mar 2013 20:11:46 +0100 (CET) Received: by mail-pb0-f42.google.com with SMTP id xb4so651646pbc.15 for ; Sat, 30 Mar 2013 12:11:45 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Takashi Iwai Cc: alsa-devel@alsa-project.org, Mihail Zenkov List-Id: alsa-devel@alsa-project.org 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