[...] x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/include/opensync-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -Wall -Werror
-march=nocona -O2 -pipe -I/usr/include/neon -MT sunbird_sync.lo -MD -MP -MF
.deps/sunbird_sync.Tpo -c sunbird_sync.c -fPIC -DPIC -o .libs/sunbird_sync.o
cc1: warnings being treated as errors
In file included from /usr/include/glib-2.0/glib/gstring.h:33,
from /usr/include/glib-2.0/glib/giochannel.h:33,
from /usr/include/glib-2.0/glib.h:48,
from tools.h:3,
from sunbird_sync.h:4,
from sunbird_sync.c:24:
/usr/include/glib-2.0/glib/gutils.h:277: warning: C99 inline functions are not
supported; using GNU89
/usr/include/glib-2.0/glib/gutils.h:277: warning: to disable this warning use
-fgnu89-inline or the gnu_inline function attribute
/usr/include/glib-2.0/glib/gutils.h:291: warning: C99 inline functions are not
supported; using GNU89
/usr/include/glib-2.0/glib/gutils.h:304: warning: C99 inline functions are not
supported; using GNU89
/usr/include/glib-2.0/glib/gutils.h:322: warning: C99 inline functions are not
supported; using GNU89
/usr/include/glib-2.0/glib/gutils.h:330: warning: C99 inline functions are not
supported; using GNU89
/usr/include/glib-2.0/glib/gutils.h:347: warning: C99 inline functions are not
supported; using GNU89
/usr/include/glib-2.0/glib/gutils.h:356: warning: C99 inline functions are not
supported; using GNU89
cc1: warnings being treated as errors
In file included from /usr/include/glib-2.0/glib/gstring.h:33,
from /usr/include/glib-2.0/glib/giochannel.h:33,
from /usr/include/glib-2.0/glib.h:48,
from tools.h:3,
from tools.c:24:
/usr/include/glib-2.0/glib/gutils.h:277: warning: C99 inline functions are not
supported; using GNU89
/usr/include/glib-2.0/glib/gutils.h:277: warning: to disable this warning use
-fgnu89-inline or the gnu_inline function attribute
/usr/include/glib-2.0/glib/gutils.h:291: warning: C99 inline functions are not
supported; using GNU89
/usr/include/glib-2.0/glib/gutils.h:304: warning: C99 inline functions are not
supported; using GNU89
/usr/include/glib-2.0/glib/gutils.h:322: warning: C99 inline functions are not
supported; using GNU89
/usr/include/glib-2.0/glib/gutils.h:330: warning: C99 inline functions are not
supported; using GNU89
/usr/include/glib-2.0/glib/gutils.h:347: warning: C99 inline functions are not
supported; using GNU89
/usr/include/glib-2.0/glib/gutils.h:356: warning: C99 inline functions are not
supported; using GNU89
make[2]: *** [sunbird_sync.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [tools.lo] Error 1
==========================================
Please strip -Werror, this should not be active when deploying apps.