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

Dr M J Carter majoc at astro.ox.ac.uk
Mon Mar 21 07:09:45 PDT 2016


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.


More information about the macports-dev mailing list