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
error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'npy_intp' (aka 'int') in initializer list (on 32-bit architectures)
#416
Closed
yurivict opened this issue
Aug 15, 2021
· 1 comment
/wrkdirs/usr/ports/science/siconos/work/.build/wrap/siconos/kernelPYTHON_wrap.cxx:6487:37: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'npy_intp' (aka 'int') in initializer list [-Wc++11-narrowing]
npy_intp this_vector_dim[1] = { v.size() };
^~~~~~~~
/wrkdirs/usr/ports/science/siconos/work/.build/wrap/siconos/kernelPYTHON_wrap.cxx:6487:37: note: insert an explicit cast to silence this issue
npy_intp this_vector_dim[1] = { v.size() };
^~~~~~~~
static_cast<npy_intp>( )
/wrkdirs/usr/ports/science/siconos/work/.build/wrap/siconos/kernelPYTHON_wrap.cxx:6497:37: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'npy_intp' (aka 'int') in initializer list [-Wc++11-narrowing]
npy_intp this_vector_dim[1] = { v->size() };
^~~~~~~~~
/wrkdirs/usr/ports/science/siconos/work/.build/wrap/siconos/kernelPYTHON_wrap.cxx:6497:37: note: insert an explicit cast to silence this issue
npy_intp this_vector_dim[1] = { v->size() };
^~~~~~~~~
static_cast<npy_intp>( )
Log: http://beefy17.nyi.freebsd.org/data/main-i386-default/p02ce566ed255_s825fb07c55/logs/siconos-4.4.0.r3_2.log (IPv6 URL)
Version: 4.4.0.rc3
OS: FreeBSD 13 i386
The text was updated successfully, but these errors were encountered: