After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 732075 - 0.20.12 build problem
0.20.12 build problem
Status: RESOLVED DUPLICATE of bug 731209
Product: GUPnP
Classification: Other
Component: gupnp
0.20.x
Other NetBSD
: Normal normal
: ---
Assigned To: GUPnP Maintainers
GUPnP Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-06-23 07:18 UTC by Thomas Klausner
Modified: 2014-06-23 08:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thomas Klausner 2014-06-23 07:18:35 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.
Comment 1 Jens Georg 2014-06-23 08:24:23 UTC

*** This bug has been marked as a duplicate of bug 731209 ***
Comment 2 Jens Georg 2014-06-23 08:25:29 UTC
Been doing too much of C++ lately apparently.