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
Big thanks for making this project & sharing it with the rest of us.
I'm working on Windows and I've managed to make this compile with VS2015. The changes are actually very limited.
First, VC++ doesn't recognize __attribute so __attribute__((noreturn)) cannot be used. The alternative is __declspec(noreturn) but it requires to be placed at the beginning for declaration like this:
__declspec(noreturn) extern void fatal () {}
Second and isn't recognized as keyword so we need to use &&.
And last there's min/max macro defined somewhere in windows.h and causing name collision.
Big thanks for making this project & sharing it with the rest of us.
I'm working on Windows and I've managed to make this compile with VS2015. The changes are actually very limited.
First, VC++ doesn't recognize
__attribute
so__attribute__((noreturn))
cannot be used. The alternative is__declspec(noreturn)
but it requires to be placed at the beginning for declaration like this:__declspec(noreturn) extern void fatal () {}
Second
and
isn't recognized as keyword so we need to use&&
.And last there's
min/max
macro defined somewhere inwindows.h
and causing name collision.My commit is https://github.com/skyline75489/Configuru/commit/777795ee3bd54df268ab5aca758ef64ca43eaa7e
If it looks OK to u I can send you a PR. 🥂
The text was updated successfully, but these errors were encountered: