My problems with bind syntactic sugar appear to be a compiler bug after all. The errors go away with gcc 4.1.2