embxx
embxx copied to clipboard
embxx - Embedded C++ Library
fix #15
Hi, related to #19 (and thus using code from branch develop) ... I'm just meddling with a similar library ([ref](https://github.com/LoopPerfect/smallfunction/pull/3#issuecomment-405690345)), and came across an issue, that affects `StaticFunction` as well:...
Hi! At the moment, `Timer` class is a simple deadline timer. Using it we can implement something like periodic timer, but in my opinion it is not a performance-optimal solution:...
Hi! In my embedded application, which is based mainly on your `EventLoop`, I have to use 3rd party library. This library is written in pure C and needs to be...
Errors: FAILED: module/io/test/CMakeFiles/io.WriteQueueTest.dir/WriteQueueTestRunner.cpp.obj D:\bin\msys64\mingw32\bin\g++.exe -I../../ -I../../external/cxxtest -isystem D:/bin/msys64/mingw32/include -Wall -Wextra -Werror -Wcast-align -Wcast-qual -Wmissing-include-dirs -Wlogical-op -Wstrict-null-sentinel -Wredundant-decls -Wno-unknown-pragmas -Wundef -Wunused -Wshadow -fdiagnostics-show-option -Woverloaded-virtual -Wno-unused-local-typedefs -Wctor-dtor-privacy -Wnoexcept -O3 -DNDEBUG -std=c++11 -MD...
In the README you have said, that this library is not using exceptions. When I tried to compile simple program, that uses your `EventLoop` (which has inside a `StaticQueue` object)...
Hi Alex, here is some initial work on getting embxx to compile with `clang-3.7` and `clang++-3.7`. Errors are removed, but there are still some warnings left, that one should investigate....
Clang
Placeholder issue for future: Support Clang. [ref](https://github.com/arobenko/embxx/pull/6#issuecomment-189599611) Regarding cmake: https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#cross-compiling-using-clang https://github.com/labapart/polymcu/blob/master/CMakeLists.txt
`... template class StaticQueueBase::ConstIterator : public StaticQueueBase::template IteratorBase { ... template class StaticQueueBase::Iterator : public StaticQueueBase::template IteratorBase { ... ` throws an error "expected class-name before '{' token".