#1101: parse error in c2hs in gobject.i
-----------------------------------+----------------------------------------
Reporter: guest | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 0.9.13
Component: general (Gtk+, Glib) | Version: 0.9.12
Resolution: | Keywords:
-----------------------------------+----------------------------------------
Comment (by anonymous):
Thanks for helping me, this is what i get from the command:
{{{
./tools/c2hs/c2hsLocal -d trace +RTS -RTS -C-I/usr/include/glib-2.0
-C-I/usr/lib/glib-2.0/include --cppopts='-include "gtk2hs-config.h"'
--precomp=glib/glib.precomp --keep glib-object.h
Invoking cpp as `gcc -E -x c -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -include "gtk2hs-config.h"
/usr/include/glib-2.0/glib-object.h >glib-object.i'...
En el fichero incluído de /usr/include/glib-2.0/glib/gthread.h:32,
de /usr/include/glib-2.0/glib/gasyncqueue.h:30,
de /usr/include/glib-2.0/glib.h:32,
de /usr/include/glib-2.0/gobject/gtype.h:26,
de /usr/include/glib-2.0/gobject/gboxed.h:26,
de /usr/include/glib-2.0/glib-object.h:25:
/usr/include/glib-2.0/glib/gutils.h:426:1: aviso: se redefinió
"GLIB_CHECK_VERSION"
En el fichero incluído de <línea de orden>:1:
./gtk2hs-config.h:179:1: aviso: esta es la ubicación de la definición
previa
Attempting to read file `glib-object.i'...
...parsing `glib-object.i'...
c2hsLocal: Error in C header file.
<interno>:1: (column 0) [FATAL]
>>> Lexical error!
The character '#' does not fit here.
}}}
and the glib-object.i: [http://pastebin.com/fce9291a]
thanks, and sorry for my ugly english
--
Ticket URL: <http://hackage.haskell.org/trac/gtk2hs/ticket/1101#comment:2>
Gtk2Hs <http://haskell.org/gtk2hs/>
The Gtk2Hs project
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gtk2hs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel