[MacPorts] #49178: VLC @2.1.5: error: expected expression

MacPorts noreply at macports.org
Fri Oct 9 05:29:43 PDT 2015


#49178: VLC @2.1.5: error: expected expression
-----------------------------+-------------------------
  Reporter:  kennethenner@…  |      Owner:  rjvbertin@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.3.4
Resolution:                  |   Keywords:
      Port:  VLC             |
-----------------------------+-------------------------

Comment (by russell.jones@…):

 Happens on 10.10, too. Looks like an incompatibility with Xcode 7.0's
 clang at a glance. rjvbertin, have you had VLC 2.2.1 build on Xcode 7?

 {{{
 DEBUG: OS darwin/14.5.0 (Mac OS X 10.10) arch i386
 }}}

 ...

 {{{
 In file included from dvdread.c:62:
 In file included from /opt/local/include/dvdread/nav_read.h:24:
 /opt/local/include/dvdread/nav_types.h:241:3: warning: unknown attribute
 'gcc_struct' ignored [-Wunknown-attributes]
 } ATTRIBUTE_PACKED dsi_t;
   ^
 /opt/local/include/dvdread/ifo_types.h:36:49: note: expanded from macro
 'ATTRIBUTE_PACKED'
 #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct))
                                                 ^
 bluray.c:744:51: error: expected expression
     p_sys->p_overlays[ov->plane]->released_once = ATOMIC_FLAG_INIT;
                                                   ^
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.0.0/include/stdatomic.h:165:26:
 note: expanded from macro 'ATOMIC_FLAG_INIT'
 #define ATOMIC_FLAG_INIT { 0 }
                          ^
 1 error generated.
 make[5]: *** [liblibbluray_plugin_la-bluray.lo] Error 1
 make[5]: *** Waiting for unfinished jobs....
 }}}

 I'll upload the log in a bit, I'm pushed for time at the moment.

-- 
Ticket URL: <https://trac.macports.org/ticket/49178#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list