Hi,<div><br></div><div>Attached is a patch that removes the trailing commas from some enums, so gcc doesn't error out when compiling llvm+lldb (either on FreeBSD or on Mac OS X).</div><div><br></div><div>I don't know if you just want lldb to compile with clang or if you want it to work with gcc too.</div>

<div><br></div><div>I tried passing CFLAGS to configure to make gcc use c++0x mode (which wouldn't be good for some C files in llvm), but it didn't work, some of them seem to be stripped.</div><div><br></div><div>

Regards,</div><div><br></div><div>  Filipe</div><div><br></div>