You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it fine for libcbor to be buildable with MSVC (at least with VS 2013)?
Of course
Thank you for your suggestions, I've implemented most of them #47. inline and restrict didn't work as expected (in particular I don't understand why __inline in the source file makes the symbols disappear: https://ci.appveyor.com/project/PJK/libcbor/build/15, I plan on removing it anyway), but those are not fundamental limitations.
Is it fine for libcbor to be buildable with MSVC (at least with VS 2013)?
It is possible, but the cost is losing the C99 compliance:
restrict
keyword with MSVC-specific__restrict
.inline
- replace it with__inline
.These two replacements can be made via CMakeLists:
#include <stdlib.h>
instead of#include <unistd.h>
.const
parameter qualifier tocbor_new_definite_map/array
implementations (typo?).The text was updated successfully, but these errors were encountered: