<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><blockquote type="cite">New Revision: 138020<br><br>URL: <a href="http://llvm.org/viewvc/llvm-project?rev=138020&view=rev">http://llvm.org/viewvc/llvm-project?rev=138020&view=rev</a><br>Log:<br>- applied a patch by Filipe Cabecinhas to make LLDB compile with GCC<br></blockquote><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="font-style: normal; font-family: Helvetica; font-size: medium; "><i><br></i></div><div style="font-family: Helvetica; font-size: medium; ">Thanks for your patch. Now GCC should be able to compile the debugger</div><div style="font-style: normal; font-family: Helvetica; font-size: medium; "><i><br></i></div><div style="font-style: normal; font-family: Helvetica; font-size: medium; "><i>Enrico Granata</i></div></div></span></div></span><span class="Apple-style-span" style="font-style: normal; color: rgb(92, 92, 92); font-family: 'Myriad Set'; font-size: 13px; ">✆ </span><span class="Apple-style-span" style="font-style: normal; font-family: 'Lucida Grande'; font-size: 11px; ">408.974.5572</span><span class="Apple-style-span" style="font-style: normal; font-size: 12px; color: rgb(92, 92, 92); font-family: 'Myriad Set'; "><span class="Apple-style-span" style="font-size: 13px; "><font class="Apple-style-span" size="3" style="font-size: 11px; "><span class="Apple-style-span" style="font-size: 12px; "> | <span class="Apple-style-span" style="font-family: Helvetica; font-size: 11px; "><font class="Apple-style-span" size="4" style="font-size: 13px; "><font class="Apple-style-span" color="#5C5C5C"><font class="Apple-style-span" face="'Myriad Set'">✉ </font></font></font></span></span></font></span></span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">egranata@<font class="Apple-style-span" color="#F80A17"></font>.com</span></div><div style="font-style: normal; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><br></span></div><div style="font-style: normal; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><br></span></div></span></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Aug 18, 2011, at 3:21 PM, Filipe Cabecinhas wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">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>
<span><trailing-commas.patch></span>_______________________________________________<br>lldb-dev mailing list<br><a href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev<br></blockquote></div><br></body></html>