This is tiny snippet of my code.
#include #include #include #include #include
Replace -std=c99 or -std=c11 etc with -std=gnu99 or -std=gnu11.
-std=c99
-std=c11
-std=gnu99
-std=gnu11