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 690793 - opaque boxed types cause "multiple IDs for constraint linkend" error
opaque boxed types cause "multiple IDs for constraint linkend" error
Status: RESOLVED DUPLICATE of bug 669417
Product: gtk-doc
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2012-12-27 22:09 UTC by Dan Winship
Modified: 2013-01-03 20:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dan Winship 2012-12-27 22:09:35 UTC
If you have a boxed type that is defined as an opaque struct, eg:

  typedef struct SoupMessageHeaders SoupMessageHeaders;

then gtkdoc-scan declares it a TYPEDEF rather than a STRUCT, but it also gets recognized as being a boxed type, with the end result that its file gets an <anchor id="SoupMessageHeaders"/> at the top of its file, and then a <refsect2 id="SoupMessageHeaders" role="typedef"> for the actual type definition, causing xsltproc to later complain:

  Warning: multiple "IDs" for constraint linkend: SoupMessageHeaders.
Comment 1 Dan Winship 2013-01-03 20:29:37 UTC

*** This bug has been marked as a duplicate of bug 669417 ***