We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I am trying to build clang with omp and facing an unusual error :
llvm[6]: Compiling ApplyReplacements.cpp for Debug+Asserts build /Users/tanvir/llvm/tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp:237:26: error: no matching constructor for initialization of 'llvm::raw_fd_ostream' llvm::raw_fd_ostream FileStream(FileName, EC, llvm::sys::fs::F_Text); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/tanvir/llvm/include/llvm/Support/raw_ostream.h:354:3: note: candidate constructor not viable: no known conversion from 'std::error_code' to 'std::string &' (aka 'basic_string<char, char_traits, allocator > &') for 2nd argument raw_fd_ostream(const char Filename, std::string &ErrorInfo, ^ /Users/tanvir/llvm/include/llvm/Support/raw_ostream.h:359:3: note: candidate constructor not viable: no known conversion from 'const char *' to 'int' for 1st argument; dereference the argument with * raw_fd_ostream(int fd, bool shouldClose, bool unbuffered=false); ^ /Users/tanvir/llvm/include/llvm/Support/raw_ostream.h:315:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided class raw_fd_ostream : public raw_ostream { ^ 1 error generated. make[6]: ** [/Users/tanvir/build/tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/Debug+Asserts/ApplyReplacements.o] Error 1 make[5]: *** [all] Error 1 make[4]: *** [all] Error 1 make[3]: *** [extra/.makeall] Error 2 make[2]: *** [all] Error 1 make[1]: *** [clang/.makeall] Error 2 make: *** [all] Error 1
How can I solve this?
Regards, Tanvir
The text was updated successfully, but these errors were encountered:
You must download extra of version 3.5 to be able to compile it along with clang-omp
Best regards,
Software Engineer Intel Compiler Team Intel Corp.
21.04.2015 4:31, tanvir047 пишет:
Hi, I am trying to build clang with omp and facing an unusual error : llvm[6]: Compiling ApplyReplacements.cpp for Debug+Asserts build /Users/tanvir/llvm/tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp:237:26: error: no matching constructor for initialization of 'llvm::raw_fd_ostream' llvm::raw_fd_ostream FileStream(FileName, EC, llvm::sys::fs::F_Text); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/tanvir/llvm/include/llvm/Support/raw_ostream.h:354:3: note: candidate constructor not viable: no known conversion from 'std::error_code' to 'std::string &' (aka 'basic_string, allocator > &') for 2nd argument raw_fd_ostream(const char /Filename, std::string &ErrorInfo, ^ /Users/tanvir/llvm/include/llvm/Support/raw_ostream.h:359:3: note: candidate constructor not viable: no known conversion from 'const char ' to 'int' for 1st argument; dereference the argument with * raw_fd_ostream(int fd, bool shouldClose, bool unbuffered=false); ^ /Users/tanvir/llvm/include/llvm/Support/raw_ostream.h:315:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided class raw_fd_ostream : public raw_ostream { ^ 1 error generated. make[6]: */ [/Users/tanvir/build/tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/Debug+Asserts/ApplyReplacements.o] Error 1 make[5]: *** [all] Error 1 make[4]: *** [all] Error 1 make[3]: *** [extra/.makeall] Error 2 make[2]: *** [all] Error 1 make[1]: *** [clang/.makeall] Error 2 make: *** [all] Error 1 How can I solve this? Regards, Tanvir — Reply to this email directly or view it on GitHub #70.
llvm[6]: Compiling ApplyReplacements.cpp for Debug+Asserts build /Users/tanvir/llvm/tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp:237:26: error: no matching constructor for initialization of 'llvm::raw_fd_ostream' llvm::raw_fd_ostream FileStream(FileName, EC, llvm::sys::fs::F_Text); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/tanvir/llvm/include/llvm/Support/raw_ostream.h:354:3: note: candidate constructor not viable: no known conversion from 'std::error_code' to 'std::string &' (aka 'basic_string, allocator > &') for 2nd argument raw_fd_ostream(const char /Filename, std::string &ErrorInfo, ^ /Users/tanvir/llvm/include/llvm/Support/raw_ostream.h:359:3: note: candidate constructor not viable: no known conversion from 'const char ' to 'int' for 1st argument; dereference the argument with * raw_fd_ostream(int fd, bool shouldClose, bool unbuffered=false); ^ /Users/tanvir/llvm/include/llvm/Support/raw_ostream.h:315:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided class raw_fd_ostream : public raw_ostream { ^ 1 error generated. make[6]: */ [/Users/tanvir/build/tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/Debug+Asserts/ApplyReplacements.o] Error 1 make[5]: *** [all] Error 1 make[4]: *** [all] Error 1 make[3]: *** [extra/.makeall] Error 2 make[2]: *** [all] Error 1 make[1]: *** [clang/.makeall] Error 2 make: *** [all] Error 1
— Reply to this email directly or view it on GitHub #70.
Sorry, something went wrong.
No branches or pull requests
Hi,
I am trying to build clang with omp and facing an unusual error :
llvm[6]: Compiling ApplyReplacements.cpp for Debug+Asserts build
/Users/tanvir/llvm/tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp:237:26: error: no matching constructor for initialization of
'llvm::raw_fd_ostream'
llvm::raw_fd_ostream FileStream(FileName, EC, llvm::sys::fs::F_Text);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/tanvir/llvm/include/llvm/Support/raw_ostream.h:354:3: note: candidate constructor not viable: no known conversion from 'std::error_code' to 'std::string &' (aka
'basic_string<char, char_traits, allocator > &') for 2nd argument
raw_fd_ostream(const char Filename, std::string &ErrorInfo,
^
/Users/tanvir/llvm/include/llvm/Support/raw_ostream.h:359:3: note: candidate constructor not viable: no known conversion from 'const char *' to 'int' for 1st argument; dereference
the argument with *
raw_fd_ostream(int fd, bool shouldClose, bool unbuffered=false);
^
/Users/tanvir/llvm/include/llvm/Support/raw_ostream.h:315:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided
class raw_fd_ostream : public raw_ostream {
^
1 error generated.
make[6]: ** [/Users/tanvir/build/tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/Debug+Asserts/ApplyReplacements.o] Error 1
make[5]: *** [all] Error 1
make[4]: *** [all] Error 1
make[3]: *** [extra/.makeall] Error 2
make[2]: *** [all] Error 1
make[1]: *** [clang/.makeall] Error 2
make: *** [all] Error 1
How can I solve this?
Regards,
Tanvir
The text was updated successfully, but these errors were encountered: