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 324535 - gtk-doc doesn't handle deprecation inside enumerations
gtk-doc doesn't handle deprecation inside enumerations
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: 1.9
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2005-12-19 20:11 UTC by Matthias Clasen
Modified: 2007-09-22 19:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2005-12-19 20:11:14 UTC
Cannot parse enumeration member "#ifndef GTK_DISABLE_DEPRECATED
  GTK_FLOATING          = 1 &lt;&lt; 1" at /home/boston/mclasen/gtk210/install/share/gtk-doc/data/gtkdoc-common.pl line 285, <INPUT> line 2355.
Cannot parse enumeration member "#endif
  GTK_RESERVED_1        = 1 &lt;&lt; 2" at /home/boston/mclasen/gtk210/install/s
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2007-08-14 18:54:04 UTC
You cannot deprecate single enum-values, struct member nor function-parameters. How would you like to see thsi reflected in the docs?

I made the parsing more gracefully though:

2007-08-14  Stefan Kost  <ensonic@users.sf.net>

	* gtkdoc-common.pl.in:
	* tests/bugs/docs/tester-sections.txt:
	* tests/bugs/src/tester.h:
	  Don't die when encountering #if/#endif in enums. Fixes #324535.
Comment 2 Yeti 2007-09-22 19:16:57 UTC
Stefan, unless the Gnome project uses Target Milestones differently than anyone else, it makes little sense to add them to bugs that are *already fixed*.