Re: compiler error on win32 w/ Gtk2-1.143 (fix inside)



On Tue, 2007-03-13 at 08:36 +0100, Mario Fischer wrote:

GtkTextBufferRichText.xs(90) : error C2143: syntax error : missing ';' 
before 'type'

OK, I think this is what happens: dGPERL_CALLBACK_MARSHAL_SP resolves to
dSP which uses PL_stack_sp which in turn calls Perl_Tstack_sp_ptr.  It
looks like MS' compiler doesn't like this to appear before variable
declarations.  Doing the shuffle you suggest doesn't introduce new gcc
warnings, so I think it's fine.  Will commit.

-- 
Thanks,
-Torsten




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