Viatorus / emio

A safe and fast high-level and low-level character input/output library for bare-metal and RTOS based embedded systems with a very small binary footprint.
https://viatorus.github.io/emio/
MIT License
132 stars 4 forks source link

fix: add missing include and adjust defines and exceptions for MSVC #28

Closed Viatorus closed 1 year ago

Viatorus commented 1 year ago

It compiles with MSVC for the most parts now. Not yet for emio::format(...).

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.02 :tada:

Comparison is base (099ffd6) 98.73% compared to head (af1d5d3) 98.75%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #28 +/- ## ========================================== + Coverage 98.73% 98.75% +0.02% ========================================== Files 43 43 Lines 4516 4514 -2 ========================================== - Hits 4459 4458 -1 + Misses 57 56 -1 ``` | [Impacted Files](https://app.codecov.io/gh/Viatorus/emio/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toni+Neubert) | Coverage Δ | | |---|---|---| | [include/emio/detail/ct\_vector.hpp](https://app.codecov.io/gh/Viatorus/emio/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toni+Neubert#diff-aW5jbHVkZS9lbWlvL2RldGFpbC9jdF92ZWN0b3IuaHBw) | `92.85% <ø> (ø)` | | | [include/emio/detail/format/parser.hpp](https://app.codecov.io/gh/Viatorus/emio/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toni+Neubert#diff-aW5jbHVkZS9lbWlvL2RldGFpbC9mb3JtYXQvcGFyc2VyLmhwcA==) | `94.87% <ø> (ø)` | | | [include/emio/format.hpp](https://app.codecov.io/gh/Viatorus/emio/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toni+Neubert#diff-aW5jbHVkZS9lbWlvL2Zvcm1hdC5ocHA=) | `100.00% <ø> (ø)` | | | [include/emio/buffer.hpp](https://app.codecov.io/gh/Viatorus/emio/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toni+Neubert#diff-aW5jbHVkZS9lbWlvL2J1ZmZlci5ocHA=) | `99.23% <100.00%> (ø)` | | | [include/emio/detail/conversion.hpp](https://app.codecov.io/gh/Viatorus/emio/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toni+Neubert#diff-aW5jbHVkZS9lbWlvL2RldGFpbC9jb252ZXJzaW9uLmhwcA==) | `95.65% <100.00%> (ø)` | | | [include/emio/result.hpp](https://app.codecov.io/gh/Viatorus/emio/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toni+Neubert#diff-aW5jbHVkZS9lbWlvL3Jlc3VsdC5ocHA=) | `94.26% <100.00%> (+0.71%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.