On 12-10-24 04:33 AM, Fabian Greffrath wrote: > Am 23.10.2012 08:30, schrieb Ansgar Burchardt: >> I think the real problem is in menucontent.h. The MENUENTRY variables >> are declared in a "if" block and are no longer valid outside the block, >> however mainMenu.entries ("opts" in atanks.cpp:1037) still has a pointer >> to them... > > Declaring them all as "static" fixes the crashes for me. Please find a > patch attached. > > - Fabian > >
Confirmed, the patch making variables static is working for me too using GCC 4.6, GCC 4.7 and Clang 3.0. I will apply this patch upstream and do some more testing. If everything goes smoothly this will be fixed in the next version of Atanks. Thank you, Fabian. I greatly appreciate your help. Jesse -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org