GNOME Bugzilla – Bug 732075
0.20.12 build problem
Last modified: 2014-06-23 08:25:29 UTC
On NetBSD-6, building of gupnp-0.20.12 fails with: In file included from gupnp.h:27:0, from gupnp-context-manager.h:28, from gupnp.h:24, from gupnp-context-manager.c:46: gupnp-device.h:54:29: error: redefinition of typedef 'GUPnPDevice' gupnp-acl.h:71:29: note: previous declaration of 'GUPnPDevice' was here NetBSD-6 has gcc (NetBSD nb2 20110806) 4.5.3 I can't reproduce this problem on NetBSD 6.99.44 with gcc (nb1 20140527) 4.8.3 See the thread at http://mail-index.netbsd.org/pkgsrc-changes/2014/06/23/msg107831.html It seems the two typedefs for the same struct need to be avoided for some compilers.
*** This bug has been marked as a duplicate of bug 731209 ***
Been doing too much of C++ lately apparently.