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

2016-03-21 Thread Ryan Schmidt

> On Mar 21, 2016, at 9:09 AM, Dr M J Carter  wrote:
> 
> On Mon, Mar 21, 2016 at 01:39:31PM +, MacPorts wrote:
> 
>> Can you check in vlc_mist_picture.i.10-10 if you do have a definition for
>> _Static_assert.
> 
> {{{
> /* locale.h */
> # 243 "../include/vlc_fixups.h"
> #define _Static_assert(x,s) ((void) sizeof (struct { unsigned a[(x) ? 1 : 
> -1];}))
> #define static_assert _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 ?
> 
> I doubt that'd work: 10.11 #defines static_assert() in terms of
> _Static_assert(), which I can't find #defined anywhere.  A builtin?
> 
>  That's all for now.  Back to the day job.

This discussion was taking place in the ticket, so you should reply by visiting 
the ticket web page, not by email.


___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


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

2016-03-21 Thread Dr M J Carter
On Mon, Mar 21, 2016 at 01:39:31PM +, MacPorts wrote:

>  Can you check in vlc_mist_picture.i.10-10 if you do have a definition for
>  _Static_assert.

{{{
/* locale.h */
# 243 "../include/vlc_fixups.h"
#define _Static_assert(x,s) ((void) sizeof (struct { unsigned a[(x) ? 1 : 
-1];}))
#define static_assert _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 ?

I doubt that'd work: 10.11 #defines static_assert() in terms of
_Static_assert(), which I can't find #defined anywhere.  A builtin?

 That's all for now.  Back to the day job.
___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev