Tried -std=gnu11.
he is using Arch linux, so i guess gcc 6.1.1
Downgraded to compile this.
As long as you're compiling for AES you don't need GRS, just rip it out.
If he's compiling for AES he shouldn't even need to have non-AES version compiled at all.