<div>Thanks.</div>
<div> </div>
<div>>Any chance you're also interested in tackling the related PR here?</div>
<div> </div>
<div>Sure.  I thought it was the same issue, but I guess it's a different code path.  I'm working on it.</div>
<div> </div>
<div>-John<br><br></div>
<div class="gmail_quote">On Wed, Nov 25, 2009 at 11:11 AM, Douglas Gregor <span dir="ltr"><<a href="mailto:dgregor@apple.com">dgregor@apple.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div style="WORD-WRAP: break-word"><br>
<div>
<div class="im">
<div>On Nov 24, 2009, at 7:42 AM, John Thompson wrote:</div><br>
<blockquote type="cite">
<div>Here's an updated version of my attempt to fix a problem with attributes coming after a declaration, but before other stuff, plus the beginnings of C++ test for it.  Sorry, I don't know attributes well, so I didn't try to make it more exhaustive.</div>

<div> </div>
<div>Could someone check this out for me, or do a more correct fix?</div></blockquote>
<div><br></div></div>
<div>The patch looks fine, thanks! Any chance you're also interested in tackling the related PR here?</div>
<div><br></div>
<div><span style="WHITE-SPACE: pre"><a href="http://llvm.org/bugs/show_bug.cgi?id=5605" target="_blank">http://llvm.org/bugs/show_bug.cgi?id=5605</a></span></div>
<div><br></div>
<div><span style="WHITE-SPACE: pre"></span>- Doug the Insatiable</div><br>
<blockquote type="cite">
<div class="im">
<div>Thanks.</div>
<div> </div>
<div>-John<br></div>
<div class="gmail_quote">On Thu, Nov 19, 2009 at 8:23 PM, John Thompson <span dir="ltr"><<a href="mailto:john.thompson.jtsoftware@gmail.com" target="_blank">john.thompson.jtsoftware@gmail.com</a>></span> wrote:<br>

<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Oh, I'm sorry, I forgot to hit save after editing the patch.  Here it is again with just the relevant changes.  I also beefed up the C test a little, but it just occured to me that there probably should be an additional test file in C++, nonetheless here's a start. 
<div>
<div></div>
<div><br><br>
<div class="gmail_quote">On Thu, Nov 19, 2009 at 8:04 PM, Sean Hunt <span dir="ltr"><<a href="mailto:rideau3@gmail.com" target="_blank">rideau3@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div>John Thompson wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">I have a couple of cases where I'm getting an error from Clang from code that compiles with gcc.<br> The code reduces to something like (members in a class declaration):<br>
 virtual void Log(const char*, ...) __attribute__ (( __format__(__printf__,1,2) )) = 0;<br>virtual void PushContextMessage(const char* , ...) __attribute__ (( __format__(__printf__,1,2) )) {};<br>Both get "expected ';' at end of declaration list" errors.<br>
 The enclosed patch takes a stab at fixing it with some copy/paste programming, assuming it needs fixing, but you might have a better fix or feedback.<br> -John<br></blockquote><br></div></div>There's a lot of code in that patch that isn't directly related to the problem - could you please post a patch of just the specific changes you would make to address this issue?<br>
<font color="#888888"><br>Sean<br></font></blockquote></div><br><br clear="all"><br></div></div>
<div>
<div></div>
<div>-- <br>John Thompson<br><a href="mailto:John.Thompson.JTSoftware@gmail.com" target="_blank">John.Thompson.JTSoftware@gmail.com</a><br><br></div></div></blockquote></div><br><br clear="all"><br>-- <br>John Thompson<br>
<a href="mailto:John.Thompson.JTSoftware@gmail.com" target="_blank">John.Thompson.JTSoftware@gmail.com</a><br><br></div><span><attr_pos1.patch></span><span><cxx-attributes.cpp></span>_______________________________________________<br>
cfe-dev mailing list<br><a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div></blockquote></div><br><br clear="all"><br>-- <br>John Thompson<br><a href="mailto:John.Thompson.JTSoftware@gmail.com">John.Thompson.JTSoftware@gmail.com</a><br><br>