Skip to content

feat: Add support for compiling with MSVC#102

Open
dbregman wants to merge 3 commits into
bergzand:masterfrom
dbregman:master
Open

feat: Add support for compiling with MSVC#102
dbregman wants to merge 3 commits into
bergzand:masterfrom
dbregman:master

Conversation

@dbregman

Copy link
Copy Markdown
  • Added MSVC-compatible byte-swap functions and SIZEOF_DOUBLE/__SIZEOF_FLOAT__macros in config.h.
  • Refactored to allow compiling without NANOCBOR_BYTEORDER_HEADER defined when endian.h does not exist.
  • Fixed all compiler warnings under MSVC (C4146 C4244 C6297 C26454)
  • Test suite passed on Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant