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
/Darknet-On-OpenCL/darknet_cl/src/data.cpp:359:14: error: non-constant-expression cannot be
narrowed from type 'int' to 'float' in initializer list [-Wc++11-narrowing]
box b = {minx, miny, maxx-minx + 1, maxy-miny + 1};
^~~~
/Darknet-On-OpenCL/darknet_cl/src/data.cpp:359:14: note: insert an explicit cast to silence
this issue
box b = {minx, miny, maxx-minx + 1, maxy-miny + 1};
^~~~
static_cast( )
/Darknet-On-OpenCL/darknet_cl/src/data.cpp:359:20: error: non-constant-expression cannot be
narrowed from type 'int' to 'float' in initializer list [-Wc++11-narrowing]
box b = {minx, miny, maxx-minx + 1, maxy-miny + 1};
^~~~
/Users/harrison/Eio/Darknet-On-OpenCL/darknet_cl/src/data.cpp:359:20: note: insert an explicit cast to silence
this issue
box b = {minx, miny, maxx-minx + 1, maxy-miny + 1};
^~~~
static_cast( )
/Darknet-On-OpenCL/darknet_cl/src/data.cpp:359:26: error: non-constant-expression cannot be
narrowed from type 'int' to 'float' in initializer list [-Wc++11-narrowing]
box b = {minx, miny, maxx-minx + 1, maxy-miny + 1};
^~~~~~~~~~~~~
/Darknet-On-OpenCL/darknet_cl/src/data.cpp:359:26: note: insert an explicit cast to silence
this issue
box b = {minx, miny, maxx-minx + 1, maxy-miny + 1};
^~~~~~~~~~~~~
static_cast( )
/Users/harrison/Eio/Darknet-On-OpenCL/darknet_cl/src/data.cpp:359:41: error: non-constant-expression cannot be
narrowed from type 'int' to 'float' in initializer list [-Wc++11-narrowing]
box b = {minx, miny, maxx-minx + 1, maxy-miny + 1};
^~~~~~~~~~~~~
/Darknet-On-OpenCL/darknet_cl/src/data.cpp:359:41: note: insert an explicit cast to silence
this issue
box b = {minx, miny, maxx-minx + 1, maxy-miny + 1};
^~~~~~~~~~~~~
static_cast( )
The text was updated successfully, but these errors were encountered:
This is on OSX, using C++17:
The text was updated successfully, but these errors were encountered: