test-dmap-server.c:86:3: error: ‘G_GNUC_FALLTHROUGH’ undeclared
$ make --silent ... ... Making all in tests CC test-dmap-server.o test-dmap-server.c: In function ‘create_share’: test-dmap-server.c:86:3: error: ‘G_GNUC_FALLTHROUGH’ undeclared (first use in this function); did you mean ‘G_GNUC_MALLOC’? G_GNUC_FALLTHROUGH; ^~~~~~~~~~~~~~~~~~ G_GNUC_MALLOC test-dmap-server.c:86:3: note: each undeclared identifier is reported only once for each function it appears in make: *** [Makefile:625: test-dmap-server.o] Error 1 make: *** [Makefile:530: all] Error 2 make: *** [Makefile:524: all-recursive] Error 1 make: *** [Makefile:431: all] Error 2
glib-2.60. The current Glib requirement for
glib-2.36 which is good. It will make the library work in more systems.
G_GNUC_FALLTHROUGH really required in the code ? Can the code be worked around to work without this
gcc attribute ?