Figuring out wrapping errors



Hi guys,

Please be patient, I've just started doing this.

If I get an error like this:

---
$ ~/prefix/lib/glibmm-2.4/proc/./gmmproc --unwrapped
recentfilter . ../gtkmm
Use of uninitialized value in concatenation (.) or string
at /home/marko/prefix/lib/glibmm-2.4/proc/pm/Enum.pm line 69.
--> GtkDefs.pm: Unhandled enum def ( "") (c-name "") ) in ::(in-module

Use of uninitialized value in hash element
at /home/marko/prefix/lib/glibmm-2.4/proc/pm/GtkDefs.pm line 196.
--> No conversion from GtkRecentFilterFlags to RecentFilterFlags defined
(line: , parameter name:
gtk_recent_filter_get_needed`'(ifelse(`1',1,const_cast<__CNAME__*>(gobj()),gobj())`'ifelse(`',,,`, ')))
m4 failed with exit code 1.  Aborting...
---

where do I look to fix this? What does 'no conversion...' actually
mean, is it like it's not wrapped or something more seriously is wrong
and the error's in the would-be-generated code?
The defs file is ok:

---
$ grep -iHns 'recentfilter' gtk_enums.defs
gtk_enums.defs:1020:;; From /home/marko/cvs/gnome2/gtk
+/gtk/gtkrecentfilter.h
gtk_enums.defs:1022:(define-flags-extended RecentFilterFlags
gtk_enums.defs:1024:  (c-name "GtkRecentFilterFlags")
---

I tried setting GTKMMPROC_DEBUG but I couldn't find the m4 files
in /tmp. This gtk_recent_filter_get_needed is trivial, and practically
the same as in filefilter.* .

Marko




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]