Re: compiler error on win32 w/ Gtk2-1.143 (fix inside)
- From: Mario Fischer <klicker-mail gmx net>
- To: gtk-perl-list gnome org
- Subject: Re: compiler error on win32 w/ Gtk2-1.143 (fix inside)
- Date: Tue, 13 Mar 2007 08:36:32 +0100
What was the actual error message you got?
<snip>
cl -c -mms-bitfields -IC:/GTK/include/gtk-2.0
-IC:/GTK/lib/gtk-2.0/include -IC:/GTK/include/atk-1.0
-IC:/GTK/include/cairo -IC:/GTK/include/pango-1.0
-IC:/GTK/include/glib-2.0 -IC:/GTK/lib/glib-2.0/include
-IC:/GTK/include/freetype2 -I./build -IC:\usr\site\lib\Glib\Install -I.
-IC:\usr\site\lib\Cairo\Install -Ibuild -nologo -GF -W3 -MD -Zi
-DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT
-DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG
-O1 -DVERSION=\"1.143\" -DXS_VERSION=\"1.143\"
/Foxs/GtkTextBufferRichText.obj "-IC:\usr\lib\CORE"
xs/GtkTextBufferRichText.c
cl : Command line warning D4029 : optimization is not available in the
standard edition compiler
cl : Command line warning D4002 : ignoring unknown option '-mms-bitfields'
GtkTextBufferRichText.c
GtkTextBufferRichText.xs(90) : error C2143: syntax error : missing ';'
before 'type'
GtkTextBufferRichText.xs(91) : error C2275: 'gboolean' : illegal use of
this type as an expression
C:/GTK\include\glib-2.0\glib\gtypes.h(45) : see declaration of
'gboolean'
GtkTextBufferRichText.xs(91) : error C2146: syntax error : missing ';'
before identifier 'retval'
GtkTextBufferRichText.xs(91) : error C2144: syntax error : '<Unknown>'
should be preceded by '<Unknown>'
GtkTextBufferRichText.xs(91) : error C2144: syntax error : '<Unknown>'
should be preceded by '<Unknown>'
GtkTextBufferRichText.xs(91) : error C2143: syntax error : missing ';'
before 'identifier'
GtkTextBufferRichText.xs(91) : error C2065: 'retval' : undeclared identifier
GtkTextBufferRichText.xs(95) : error C2065: 'callback' : undeclared
identifier
GtkTextBufferRichText.xs(95) : error C2223: left of '->priv' must point
to struct/union
GtkTextBufferRichText.xs(95) : error C2198: 'Perl_set_context' : too few
arguments for call through pointer-to-function
GtkTextBufferRichText.xs(107) : error C2223: left of '->data' must point
to struct/union
GtkTextBufferRichText.xs(108) : error C2223: left of '->data' must point
to struct/union
GtkTextBufferRichText.xs(112) : error C2223: left of '->func' must point
to struct/union
GtkTextBufferRichText.xs(112) : warning C4047: 'function' : 'SV *'
differs in levels of indirection from 'int'
GtkTextBufferRichText.xs(112) : error C2198: 'Perl_call_sv' : too few
arguments for call through pointer-to-function
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
That's it. After doing the line-exchange I proposed, everything runs
flawlessly.
In my eyes that is a compiler-related issue.
Greetings,
Mario
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]