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.<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">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 class="h5">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>-- <br>John Thompson<br><a href="mailto:John.Thompson.JTSoftware@gmail.com">John.Thompson.JTSoftware@gmail.com</a><br><br>