We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 545f0ea commit bd0fe71Copy full SHA for bd0fe71
src/xinterpreter.cpp
@@ -368,7 +368,9 @@ __get_cxx_version ()
368
// Get include paths from environment variable and use empty string if not set
369
const char* non_standard_paths = std::getenv("XEUS_SEARCH_PATH");
370
if (!non_standard_paths)
371
+ {
372
non_standard_paths = "";
373
+ }
374
375
#ifdef _WIN32
376
const char path_separator = ';';
@@ -380,8 +382,12 @@ __get_cxx_version ()
380
382
std::istringstream stream(non_standard_paths);
381
383
std::string path;
384
while (std::getline(stream, path, path_separator))
385
386
if (!path.empty())
387
388
Cpp::AddIncludePath(path.c_str());
389
390
391
}
392
393
void interpreter::init_preamble()
0 commit comments