[Bug 396256] Re: gpsd_config.h not packaged in libgps-dev / gpsd.h uses undefined macro UNUSED

Bernd Zeimetz bernd at bzed.de
Mon Jul 6 21:04:12 UTC 2009


As workaround add

#if defined(__GNUC__)
#  define UNUSED __attribute__((unused)) /* Flag variable as unused */
#else /* not __GNUC__ */
#  define UNUSED
#endif

before including gpsd.h

** Changed in: gpsd (Ubuntu)
     Assignee: (unassigned) => Bernd Zeimetz (bzed)

-- 
gpsd_config.h not packaged in libgps-dev / gpsd.h uses undefined macro UNUSED
https://bugs.launchpad.net/bugs/396256
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list