[MacPorts] #50913: VLC @2.2.2: error: expected identifier or '('

Ryan Schmidt ryandesign at macports.org
Mon Mar 21 16:54:00 PDT 2016


> On Mar 21, 2016, at 9:09 AM, Dr M J Carter <majoc at astro.ox.ac.uk> wrote:
> 
> On Mon, Mar 21, 2016 at 01:39:31PM +0000, MacPorts wrote:
> 
>> Can you check in vlc_mist_picture.i.10-10 if you do have a definition for
>> _Static_assert.
> 
> {{{
> /* locale.h */
> # 243 "../include/vlc_fixups.h"
> #define _Static_assert(x,s) ((void) sizeof (struct { unsigned a[(x) ? 1 : -1];}))
> #define static_assert _Static_assert
> }}}
> 
>> Or rather, simply try to build after placing the 10.11
>> definition for static_assert (from /usr/include/assert.h) above its first
>> use in picture.c ?
> 
> I doubt that'd work: 10.11 #defines static_assert() in terms of
> _Static_assert(), which I can't find #defined anywhere.  A builtin?
> 
> .... That's all for now.  Back to the day job.

This discussion was taking place in the ticket, so you should reply by visiting the ticket web page, not by email.




More information about the macports-dev mailing list