aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Conf.cpp2
-rw-r--r--src/main.cpp4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/Conf.cpp b/src/Conf.cpp
index 0307bc0..a204f13 100644
--- a/src/Conf.cpp
+++ b/src/Conf.cpp
@@ -684,7 +684,7 @@ namespace sibs
result += " or ";
else if(i > 0)
result += ", ";
- result += it.second;
+ result += string(it.first.data, it.first.size);
++i;
}
return result;
diff --git a/src/main.cpp b/src/main.cpp
index 952497a..4bf840a 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -96,6 +96,8 @@ using namespace std::chrono;
// TODO: Create a script that downloads every library in the package list (packages.json) and build each project for every new release of sibs
// to verify we don't break anything.
+// TODO: Generate compile_commands.json even if compilation fails. This is needed to properly show errors in IDE.
+
#if OS_FAMILY == OS_FAMILY_POSIX
#define fout std::cout
#define ferr std::cerr
@@ -1436,4 +1438,4 @@ int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLi
{
return wmain(__argc, (const _tinydir_char_t**)__wargv);
}
-#endif \ No newline at end of file
+#endif