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
Describe the bug
When compiling with a compiler which frowns between float<->uint32_t implicit conversions, code produces warnings because target fps is float in some places, integer in other:
Compile in VS2017 c++ file with `#include <flecs.h>
get >e:\work\vs2017.libs\flecs\include\flecs\flecs.hpp(361): warning C4244: 'argument': conversion from 'uint32_t' to 'float', possible loss of data
Expected behavior
Same types everywhere with no warnings
Additional context
Related to #70 (compiler warnings with Visual Studio 2017), but if #70 it's one time problem - you compile the library and forget about it as you use compiled lib, here warnings produced every time you include the header in actual projects.
The text was updated successfully, but these errors were encountered:
Describe the bug
When compiling with a compiler which frowns between float<->uint32_t implicit conversions, code produces warnings because target fps is float in some places, integer in other:
To Reproduce
>e:\work\vs2017.libs\flecs\include\flecs\flecs.hpp(361): warning C4244: 'argument': conversion from 'uint32_t' to 'float', possible loss of data
Expected behavior
Same types everywhere with no warnings
Additional context
Related to #70 (compiler warnings with Visual Studio 2017), but if #70 it's one time problem - you compile the library and forget about it as you use compiled
lib
, here warnings produced every time you include the header in actual projects.The text was updated successfully, but these errors were encountered: