[MacPorts] #50913: VLC @2.2.2: error: expected identifier or '('
MacPorts
noreply at macports.org
Mon Mar 21 06:39:31 PDT 2016
#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 rjvbertin@…):
Can you check in vlc_mist_picture.i.10-10 if you do have a definition for
_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 ?
If that works, please post that definition as it'll make a useful
workaround/patch.
VLC's macro asks the compiler to evaluate the sizeof of a struct
containing an array; this array has 1 element when the assert is OK, but
-1 elements when that is not the case. In the latter case the compiler is
supposed to abort.
The macro expansions do look correct as far as bracket balancing is
concerned!
@Ryan: can you check if the 10.10 build bot ran into the same issue
please?
--
Ticket URL: <https://trac.macports.org/ticket/50913#comment:10>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list