Hi Axel,
I found .chs file don't support `#if GTK_CHECK_VERSION ... #endif` wrap.
Example below attribute add in Gtk+ 2.16:
GtkImageMenuItem:accel-group
GtkImageMenuItem:always-show-image
GtkImageMenuItem:use-stock
If i use `#if ... #endif` wrap it.
I will got below error:
./tools/c2hs/c2hsLocal +RTS -RTS -iglib:cairo:gio:gtk --precomp=gtk/gtk.precomp
-o gtk/Graphics/UI/Gtk/MenuComboToolbar/ImageMenuItem.hs
gtk/Graphics/UI/Gtk/MenuComboToolbar/ImageMenuItem.chs
gtk/Graphics/UI/Gtk/MenuComboToolbar/ImageMenuItem.h:1:22: error: missing
binary operator before token "("
gtk/Graphics/UI/Gtk/MenuComboToolbar/ImageMenuItem.h:4:22: error: missing
binary operator before token "("
c2hsLocal: Error during preprocessing custom header file
And .chs.pp file haven't this problem.
Any idea?
-- Andy
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Gtk2hs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel