Maybe you should switch on --enable-checking first and catch a bunch of new problems that show up with your patch. That's a good idea. Maybe fixing these will help C++ too. As it happens, that was a typo.