Stuart Henderson <s...@spacehopper.org> writes:

> On 2016/02/15 13:05, Jérémie Courrèges-Anglas wrote:
>> If someone knows what the hell the alien C syntax in
>> patches/patch-src_fns_c is about, cluebat welcome.
>
> it's C99:
>
> https://en.wikipedia.org/wiki/Restrict

I've heard about restrict, but I had indeed never seen it used within
the brackets of array parameters.  emacs is built with -std=gnu99:

cc -std=gnu99 -c -I/usr/local/include -Demacs  -I. -I. -I../lib -I../lib
 -I/usr/local/include/libxml2 -I/usr/local/include
 -MMD -MF deps/fns.d -MP -I/usr/local/include -I/usr/local/include/p11-kit-1
 -I/usr/include     -O2 -pipe -fno-pie  fns.c
fns.c:36: error: static or type qualifiers in abstract declarator
fns.c:36: error: static or type qualifiers in abstract declarator
fns.c: In function 'sort_vector':
[...]

Sadly:
-> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14050
 -> https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=130362
  -> GPLv3

*shrug*

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to