http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54800
--- Comment #1 from David Binderman <dcb314 at hotmail dot com> 2012-10-03 21:22:31 UTC ---
Or if you want something that compiles
memset (&namebuf[MACH_O_NAME_LEN], 0, MACH_O_NAME_LEN + 2);
might be closer ;->