with 5.0 svn branch 309348
/build/llvm-toolchain-5.0-5.0~svn309348/tools/clang/tools/extra/clang-apply-
replacements/tool/ClangApplyReplacementsMain.cpp: In function 'int main(int,
char**)':
/build/llvm-toolchain-5.0-5.0~svn309348/tools/clang/tools/extra/clang-apply-
replacements/tool/ClangApplyReplacementsMain.cpp:202:37: error: invalid
conversion from 'void (*)(llvm::raw_ostream&)' to 'void (*)()' [-fpermissive]
cl::SetVersionPrinter(printVersion);
^
In file included from /build/llvm-toolchain-5.0-
5.0~svn309348/tools/clang/include/clang/Frontend/CommandLineSourceLoc.h:19:0,
from /build/llvm-toolchain-5.0-5.0~svn309348/tools/clang/include/clang/Frontend/FrontendOptions.h:13,
from /build/llvm-toolchain-5.0-5.0~svn309348/tools/clang/include/clang/Frontend/FrontendAction.h:25,
from /build/llvm-toolchain-5.0-5.0~svn309348/tools/clang/include/clang/Tooling/Tooling.h:39,
from /build/llvm-toolchain-5.0-5.0~svn309348/tools/clang/include/clang/Tooling/Refactoring.h:23,
from /build/llvm-toolchain-5.0-5.0~svn309348/tools/clang/tools/extra/clang-apply-replacements/include/clang-apply-replacements/Tooling/ApplyReplacements.h:20,
from /build/llvm-toolchain-5.0-5.0~svn309348/tools/clang/tools/extra/clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp:16:
/build/llvm-toolchain-5.0-
5.0~svn309348/include/llvm/Support/CommandLine.h:74:6: note: initializing
argument 1 of 'void llvm::cl::SetVersionPrinter(void (*)())'
void SetVersionPrinter(void (*func)());
^~~~~~~~~~~~~~~~~
clang-apply-replacements-compilefix.patch
(647 bytes, text/plain)