gcc 4.6 doesn't properly support anon structs in c++ code :-(