#50913: VLC @2.2.2: error: expected identifier or '(' ----------------------+-------------------------------- Reporter: majoc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: yosemite Port: VLC | ----------------------+-------------------------------- Comment (by majoc@…): Replying to [comment:10 rjvbertin@…]:
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'll try it, but more in hope than expectation. The macro makes more sense now you explain it, though I can't see how it emits the message if the assertion fails. Ay well: back to the day job. -- Ticket URL: <https://trac.macports.org/ticket/50913#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X