Re: [luabind] Cannot catch luabind:error with gcc 4.8 and C++11
Brought to you by:
arvidn,
daniel_wallin
From: Benjamin K. <ben...@gm...> - 2013-07-22 07:33:40
|
Kai Bernhard <kai.bernhard <at> imail.de> writes: > > Hi Benjamin, > > I ran into the same problem. It looks like it is enough to compile the > executable with -std=c++98 to make it work, lua and luabind libraries > can be compiled with -std=c++11. After I had seen this, I looked at the > assembler code generated from luabind_error.cpp in C++11 vs C++98 mode. > There are a few blocks of code in C++98 mode which seem to be > suspiciously missing in C++11 mode, each of them including the lines > call __Unwind_Resume > and > .section .gcc_except_table,"w" > > So this looks indeed like a problem with gcc's code generation (I tested > with 4.8.1). Did you find any other information regarding this or > contact the gcc devs? I did not see any ticket in their bug tracker that > rang a bell. > > Regards, > Kai Hi Kai, I haven't contacted the gcc developers yet as I wanted to see whether someone else has this problem and maybe pinpoint the error in either luabind or gcc. You seem to have investigated this much further than I did. Would you be willing to file a bug report with gcc? Best Regards, Ben |