From: Hakki D. <dog...@tr...> - 2007-06-26 15:33:15
|
Hi, John Labenski wrote: > On 6/26/07, Hakki Dogusan <dog...@tr...> wrote: >> Hi, >> >> John Labenski wrote: >>> On 6/25/07, Hakki Dogusan <dog...@tr...> wrote: >>>> Hi, >>>> >>>> (xp,wx2.8.4,mingw) >>>> >>>> - Current cvs gives internal compiler error for wx_bind.cpp at line 493 >>>> with gcc-3.4.5. It compiles with un-official gcc-4.1.2. >>> What is the code for this? I think the line numbers have changed as I >>> did some updates last night. >> To be sure, I made a cvs update and re-compiled. Same result: >> >> ../../wxbind/src/wx_bind.cpp:493: internal compiler error: >> output_operand: inval >> id expression as operand >> Please submit a full bug report, >> with preprocessed source if appropriate. >> See <URL:http://www.mingw.org/bugs.shtml> for instructions. >> mingw32-make[1]: *** [gccmswu_dll\wxbind_dll_wx_bind.o] Error 1 >> mingw32-make[1]: Leaving directory `F:/a_C/wxLua/modules/build/msw' >> mingw32-make: *** [modules] Error 2 > > "id expression as operand" sounds like it might be that one of the > wxUSE_XXX defines is perhaps something more complicated that the > preprocessor doesn't like? All of the wxLUA_USE_XXX defines are either > 1 or 0 so they're simple. > > It could also be that there are a lot of these preprocessor conditions > and it's stack has overflowed. I know that VC6 w/o the service packs > has a lot of problems with "complicated" code. > > If you feel inspired you could use /* */ to rem out the first half, > then the second half... and so on to narrow down where the problem > really is. I don't think it should take too long and it would be nice > to figure out if there is a real problem or not. > (I'll try to compile with gcc-3.4.5 later) Since it compiled with gcc-4.1.2 I tried to find my other -translation- problem first. After -all day- compiling with different configurations, a few minutes ago I found the reason! (Why it is always the last one you look for?) loc = wx.wxLocale(wx.wxLANGUAGE_TURKISH) print(loc:GetString("&About")) --not translated print(loc:GetString("&About", "wxstd")) --translated print(wx.wxGetTranslation("&About")) --not translated print(wx.wxGetTranslation("&About", "wxstd")) --translated Do you know a quick solution? :) > Thanks, > John Labenski > -- Regards, Hakki Dogusan |