[lldb-dev] Fixes for gcc compatability

Filipe Cabecinhas filcab+lldb-dev at gmail.com
Thu Aug 18 15:21:21 PDT 2011


Hi,

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).

I don't know if you just want lldb to compile with clang or if you want it
to work with gcc too.

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.

Regards,

  Filipe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20110818/79861747/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trailing-commas.patch
Type: application/octet-stream
Size: 3805 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20110818/79861747/attachment.obj>


More information about the lldb-dev mailing list