[lldb-dev] Fixes for gcc compatability

Filipe Cabecinhas filcab+lldb-dev at gmail.com
Tue Aug 23 14:29:24 PDT 2011


Hi,

I have found two more misplaced commas in lldb.

Regards,

  Filipe

On Thu, Aug 18, 2011 at 18:18, Enrico Granata <egranata at apple.com> wrote:

> New Revision: 138020
>
> URL: http://llvm.org/viewvc/llvm-project?rev=138020&view=rev
> Log:
> - applied a patch by Filipe Cabecinhas to make LLDB compile with GCC
>
> *
> *
> Thanks for your patch. Now GCC should be able to compile the debugger
> *
> *
> *Enrico Granata*
> ✆ 408.974.5572 | ✉ egranata@.com
>
>
>
>
> On Aug 18, 2011, at 3:21 PM, Filipe Cabecinhas wrote:
>
> 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
>
> <trailing-commas.patch>_______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20110823/31e7983e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: additional-commas.patch
Type: application/octet-stream
Size: 1235 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20110823/31e7983e/attachment.obj>


More information about the lldb-dev mailing list