As workaround add
#if defined(__GNUC__) # define UNUSED __attribute__((unused)) /* Flag variable as unused */ #else /* not __GNUC__ */ # define UNUSED #endif
before including gpsd.h
As workaround add
#if defined(__GNUC__) _((unused) ) /* Flag variable as unused */
# define UNUSED __attribute_
#else /* not __GNUC__ */
# define UNUSED
#endif
before including gpsd.h