diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index d4de6e0..c626f11 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -43,6 +43,18 @@ using namespace std::chrono; // TODO: Set c++ standard to c++11 and c standard to c98 - for consistency across different compilers and compiler version. // It should be possible to override language version in project.conf +// TODO: If file extension is common c extension (.c, ...) then remove cast checking (for example using malloc without casting result to result type) + +// TODO: When building a sibs project, add a hardlink in ~/.sibs/lib to it. This allows us to have dependency to a project that we can modify +// without having to commit & push to remote + +// TODO: Check compiler flags generated by cmake and visual studio in debug and release mode and use the same ones when building sibs project. +// There are certain compiler flags we do not currently have, for example _ITERATOR_DEBUG_LEVEL in debug mode which enables runtime checks. +// You should be able to specify runtime checks as an option to `sibs build` and project specific config in .conf file. +// Also add stack protection option. If it's enabled, shouldn't sibs prefer to compile dependencies from source? +// and should this force static compilation so dependencies can also be built with protection and if dependencies dont exist +// as static library/source, then fail build? + #if OS_FAMILY == OS_FAMILY_POSIX #define ferr std::cerr #else |