[MacPorts] #50913: VLC @2.2.2: error: expected identifier or '('
MacPorts
noreply at macports.org
Tue Mar 22 06:22:21 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@…):
Replying to [comment:15 majoc@…]:
> Nope, nor anywhere under /usr/include
So you could try to build the file after putting
{{{
#define static_assert _Static_assert
}}}
before including vlc_fixup.h
> (otherwise ./configure would have found it, methinks).
Only if it checks, and I don't think that's the case (the check is being
done by the compiler, after configure has been run!)
> 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.
Yes, that's why I asked you to check the actual assertions in my first
message.
I kind of expect those assertions to fail only on 32bit hardware (or when
compiling in 32bit mode).
> As I filked long enough ago that I'm embarrassed: "I'm only what I'm
paid to be/In my copious free time."
Paid with copious free time, since long ago? Sounds like it could be worse
;)
--
Ticket URL: <https://trac.macports.org/ticket/50913#comment:16>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list