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 473342 - Warn about repeated symbols in sections
Warn about repeated symbols in sections
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
1.8
Other Linux
: Normal enhancement
: 1.11
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2007-09-03 22:14 UTC by Yeti
Modified: 2008-06-04 11:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Yeti 2007-09-03 22:14:09 UTC
gtk-doc should warn about issues such as bug 473340.

This should be relatively simple: for each non-private and non-standard (i.e. actually output) symbol in the section, check whether the symbol has been already seen.
Comment 1 Yeti 2007-09-03 22:32:01 UTC
OK, we get a warning from xsltproc:

Warning: multiple "IDs" for constraint linkend: gtk-print-operation-get-error

As I would expect, but overlooked the first time in the flood of other messages.  Maybe it's enough?
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2007-09-07 17:47:14 UTC
Before we add more warning, I'd like to have one function in gtkdoc-common.pl to print the warning, prefferably in gcc-style. After that I am fine with adding a warning for almost every case :)
Comment 3 Stefan Sauer (gstreamer, gtkdoc dev) 2008-06-04 11:43:23 UTC
2008-06-04  Stefan Kost  <ensonic@users.sf.net>

	* gtkdoc-common.pl.in:
	* gtkdoc-mkdb.in:
	  Warn about repeated symbols in sections. Also give line of previous
	  occurrance. Also give that info for double file entries. Fixes #473342