From owner-freebsd-x11@FreeBSD.ORG Sat Feb 2 19:04:30 2013 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4ABF120B; Sat, 2 Feb 2013 19:04:30 +0000 (UTC) (envelope-from awarecons@gmail.com) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx1.freebsd.org (Postfix) with ESMTP id BFA68BF; Sat, 2 Feb 2013 19:04:29 +0000 (UTC) Received: by mail-vc0-f178.google.com with SMTP id m8so3121893vcd.9 for ; Sat, 02 Feb 2013 11:04:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=NYeY9GGUtmcOnqhG72I1CAv+iLZsx536UUomutP9JXk=; b=KQZFUlcw60q0HziOsxggIi+ejy6E6oQqWPdMnupmp4HzQs5KtikutL9+78Lvgksmfd yQeGwZh4mbD7wlbjKazqihSrusHgwN8LDyJCbPQ+FTv8xprj38lZLweeHF2sKVsxTmdv Ipu49PCM7s+ajNPEZew7ZkcVhsRXzGT3fydO06PQBYzxQriH1zqgwApeFA9ARVieZhSs ZQNkm7V+W4Rrj3/qyXNUcYfaEhKYos3oMNSgWLcD3DOS+sbPKGUhFE7hM8kUuX7x89Iu QhszVtiHQu+t8qMGbzmelqiJkVeuRFaZ/lDSLym51k1vUD8qlY6DHIJHYPH+eY+sHcNd h16w== MIME-Version: 1.0 X-Received: by 10.52.68.4 with SMTP id r4mr13329843vdt.15.1359831863543; Sat, 02 Feb 2013 11:04:23 -0800 (PST) Received: by 10.220.9.211 with HTTP; Sat, 2 Feb 2013 11:04:23 -0800 (PST) In-Reply-To: <201302021543.r12FhSVK038296@triton8.kn-bremen.de> References: <201302021543.r12FhSVK038296@triton8.kn-bremen.de> Date: Sat, 2 Feb 2013 23:04:23 +0400 Message-ID: Subject: Re: multimedia/vlc [2.0.5,3] ISSUE Use X C Bindings From: awarecons To: Juergen Lock Content-Type: text/plain; charset=ISO-8859-1 Cc: x11@freebsd.org, multimedia@freebsd.org, ports-bugs@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2013 19:04:30 -0000 Mine has: ... /** * @brief xcb_randr_output_property_t **/ typedef struct xcb_randr_output_property_t { xcb_window_t window; /**< */ xcb_randr_output_t output; /**< */ xcb_atom_t atom; /**< */ xcb_timestamp_t timestamp; /**< */ uint8_t status; /**< */ uint8_t pad0[11]; /**< */ m xcb_randr_output_property_t; /** * @brief xcb_randr_output_property_iterator_t **/ typedef struct xcb_randr_output_property_iterator_t { xcb_randr_output_property_t *data; /**< */ int rem; /**< */ int index; /**< */ } xcb_randr_output_property_iterator_t; ... 2013/2/2 Juergen Lock : > In article you write: >>If chosen >> >>[*] XCB Use X C Bindings for X11 output >> >>GCC 4.6.3: >>gmake[5]: Entering directory >>`/usr/ports/multimedia/vlc/work/vlc-2.0.5/modules/video_filter' >> CC libpanoramix_plugin_la-panoramix.lo >> CC libpostproc_plugin_la-postproc.lo >>In file included from panoramix.c:50:0: >>/usr/local/include/xcb/randr.h:1168:1: error: unknown type name 'm' >>/usr/local/include/xcb/randr.h:1173:1: error: expected >>specifier-qualifier-list before 'typedef' >>gmake[5]: *** [libpanoramix_plugin_la-panoramix.lo] Error 1 >> >>gcc4.2: >> >>gmake[5]: Entering directory >>`/usr/ports/multimedia/vlc/work/vlc-2.0.5/modules/video_filter' >> CC libpanoramix_plugin_la-panoramix.lo >> CCLD libpostproc_plugin.la >>In file included from panoramix.c:50: >>/usr/local/include/xcb/randr.h:1168: error: expected >>specifier-qualifier-list before 'm' >>gmake[5]: *** [libpanoramix_plugin_la-panoramix.lo] Error 1 >> >>But, for e.g., mplayer using XCB compiles fine. > > Hmm what's in/around those lines in your /usr/local/include/xcb/randr.h ? > Mine doesn't have an identifier 'm' there anywhere... > > [...] > /** > * @brief xcb_randr_output_property_t > **/ > typedef struct xcb_randr_output_property_t { > xcb_window_t window; /**< */ > xcb_randr_output_t output; /**< */ > xcb_atom_t atom; /**< */ > xcb_timestamp_t timestamp; /**< */ > uint8_t status; /**< */ > uint8_t pad0[11]; /**< */ > } xcb_randr_output_property_t; > > /** > * @brief xcb_randr_output_property_iterator_t > **/ > typedef struct xcb_randr_output_property_iterator_t { > xcb_randr_output_property_t *data; /**< */ > int rem; /**< */ > int index; /**< */ > } xcb_randr_output_property_iterator_t; > [...] > > Thanx, > Juergen