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

MacPorts noreply at macports.org
Tue Mar 22 08:40:57 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 majoc@…):

 Replying to [comment:16 rjvbertin@…]:

 > So you could try to build the file after putting
 >
 > {{{
 > #define static_assert _Static_assert
 > }}}
 >
 > before including vlc_fixup.h

 {{{
 --- ../config.h.orig    2016-03-22 15:34:33.000000000 +0000
 +++ ../config.h 2016-03-22 15:34:57.000000000 +0000
 @@ -793,6 +793,7 @@
  /* Define to `int' if <stddef.h> does not define. */
  /* #undef ssize_t */

 +#define static_assert _Static_assert
  #include <vlc_fixups.h>


 }}}

 .... after which "clang -c" compiles an unchanged picture.c successfully.
 We're getting there :-) .

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


More information about the macports-tickets mailing list