[lldb-dev] Fixes for gcc compatability

Enrico Granata egranata at apple.com
Tue Aug 23 14:31:43 PDT 2011


Fixed in ToT.

Thanks,
Enrico Granata
✆ 408.974.5572 | ✉ egranata@.com


On Aug 23, 2011, at 2:29 PM, Filipe Cabecinhas wrote:

> 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
> 
> 
> <additional-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/ad237d00/attachment.html>


More information about the lldb-dev mailing list