GNOME Bugzilla – Bug 473342
Warn about repeated symbols in sections
Last modified: 2008-06-04 11:43:23 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.
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?
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 :)
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