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

MacPorts noreply at macports.org
Tue Mar 22 06:07:19 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:14 rjvbertin@…]:
 > Replying to [comment:12 majoc@…]:
 >
 > > > Can you check in vlc_mist_picture.i.10-10 if you do have a
 definition for _Static_assert.
 >
 > So you only have the definition from vlc_fixups.h, apparently. Is there
 a definition for _Static_assert in vlc_mist_picture.i.10.11 ?

 Nope, nor anywhere under /usr/include (otherwise ./configure would have
 found it, methinks).

 > > 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.
 >
 > I think that the compiler prints an error message showing the original
 code, not the preprocessed/expanded code (which is why it's often so
 difficult to figure out errors in macros). There's thus no need for the
 macro to do anything with the error message.

 Unless, as in this case, the error message is on the next line .... which
 leads me to wonder whether what we're seeing is actually a static
 assertion failure which happens to be silent.  I'll kludge up a test prog
 to show us the values being checked, and get back to you.

 > > Ay well: back to the day job.
 >
 > Good for you :)

 As I filked long enough ago that I'm embarrassed: "I'm only what I'm paid
 to be/In my copious free time."

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


More information about the macports-tickets mailing list