You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CentOS 7's shipped GCC (version 4.8.5) does not support the restrict keyword. You'll have to either remove that from the code or use a more recent GCC version.
os: centos 6.7 x86_64
[root@Father-master]# make
gcc -Wall -ldl -o rk.so -fPIC -shared -D_GNU_SOURCE father.c
father.c:128: error: conflicting types for ‘restrict’
father.c:128: note: previous definition of ‘restrict’ was here
father.c:129: error: expected ‘;’, ‘,’ or ‘)’ before ‘path’
make: *** [father] Error 1
The text was updated successfully, but these errors were encountered: