-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Closed
Labels
Milestone
Description
When using the library with uint64_t values, some specialisations throw al lot of warnings (4267 and 4293).
The resulting code works fine, but I like a clean build log :)
So I propose to add the following lines before the first namespace Definition (line 103):
#if defined(_MSC_VER)
#pragma warning(push)
#pragma warning(disable: 4267 4293)
#endif
and this at the end before the last #endif:
#if defined(_MSC_VER)
#pragma warning(pop)
#endif
This also could be solved with type casts, but I think they would make the code less readable.
Reactions are currently unavailable