<div dir="ltr"><div dir="ltr"><div class="gmail_extra">No matter.  I forgot to mention that I only tested that patch on Linux.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 21, 2012 at 7:38 AM, Douglas Gregor <span dir="ltr"><<a href="mailto:dgregor@apple.com" target="_blank">dgregor@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">… and, I have to retract that. This breaks the build on mingw, so I had to revert it in r170804.<br>
<br>
        - Doug<br>
<div class="HOEnZb"><div class="h5"><br>
On Dec 20, 2012, at 3:12 PM, Douglas Gregor <<a href="mailto:dgregor@apple.com">dgregor@apple.com</a>> wrote:<br>
<br>
> r170801, thanks!<br>
><br>
>       - Doug<br>
><br>
> On Dec 19, 2012, at 8:25 PM, David Lee <<a href="mailto:live4thee@gmail.com">live4thee@gmail.com</a>> wrote:<br>
><br>
>> This patch will eliminate the error messages  when running the `PrintFunctionNames'<br>
>> plugin with clang.<br>
>><br>
>> $ bin/clang -Xclang -load -Xclang lib/PrintFunctionNames.so \<br>
>>                 -Xclang -add-plugin -Xclang print-fns some-file.cc<br>
>> <premain>: CommandLine Error: Argument 'info-output-file' defined more than once!<br>
>> <premain>: CommandLine Error: Argument 'track-memory' defined more than once!<br>
>> <premain>: CommandLine Error: Argument 'stats' defined more than once!<br>
>> ...<br>
>><br>
>> ---<br>
>> examples/PrintFunctionNames/CMakeLists.txt | 1 -<br>
>> 1 file changed, 1 deletion(-)<br>
>><br>
>> diff --git a/examples/PrintFunctionNames/CMakeLists.txt b/examples/PrintFunctionNames/CMakeLists.txt<br>
>> index ba6a350..96a8805 100644<br>
>> --- a/examples/PrintFunctionNames/CMakeLists.txt<br>
>> +++ b/examples/PrintFunctionNames/CMakeLists.txt<br>
>> @@ -14,7 +14,6 @@ add_dependencies(PrintFunctionNames<br>
>>   )<br>
>><br>
>> target_link_libraries(PrintFunctionNames<br>
>> -  clangFrontend<br>
>>   clangAST<br>
>>   )<br>
>><br>
>> --<br>
>> Thanks,<br>
>> Li Qun<br>
>><br>
>> _______________________________________________<br>
>> cfe-commits mailing list<br>
>> <a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
>> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
><br>
> _______________________________________________<br>
> cfe-commits mailing list<br>
> <a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Thanks,<br>Li Qun<br>
</div></div></div>