<div dir="ltr"><div><div>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>
</div><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></div><br><div><div>---<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 clear="all">Thanks,<br>Li Qun<br><br>
</div></div></div>