We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79945ae commit cef4d25Copy full SHA for cef4d25
src/xinterpreter.cpp
@@ -42,10 +42,9 @@ void* createInterpreter(const Args &ExtraArgs = {}) {
42
std::string resource_dir = Cpp::DetectResourceDir();
43
if (resource_dir.empty())
44
{
45
- std::cerr << "Failed to detect the resource-dir\n";
+ std::cerr << "Failed to detect the resource-dir\n";
46
}
47
- ClangArgs.push_back("-resource-dir");
48
- ClangArgs.push_back(resource_dir.c_str());
+ ClangArgs.push_back("-resource-dir " + resource_dir);
49
50
std::vector<std::string> CxxSystemIncludes;
51
Cpp::DetectSystemCompilerIncludePaths(CxxSystemIncludes);
0 commit comments