On 2018/10/28 18:28, Daniel Dickman wrote:
> CVSROOT:      /cvs
> Module name:  ports
> Changes by:   [email protected]  2018/10/28 18:28:50
> 
> Modified files:
>       graphics/py-matplotlib: Makefile distinfo 
>       graphics/py-matplotlib/patches: 
>                                       
> patch-lib_matplotlib_sphinxext_tests_test_tinypages_py 
>                                       patch-setupext_py 
>                                       patch-src__gtkagg_cpp 
>       graphics/py-matplotlib/pkg: PLIST 
> Added files:
>       graphics/py-matplotlib/patches: patch-setup_cfg_template 
> 
> Log message:
> Update to matplotlib 2.0.2 to allow forward progress on py-zmq which is
> needed by jupyter-notebook.
> 

This fails on i386 (and maybe other 32-bit):

src/_image_wrapper.cpp:386:24: error: non-constant-expression cannot be 
narrowed from type 'unsigned int' to 'npy_intp' (aka 'long') in initializer 
list [-Wc++11-narrowing]
    npy_intp dim[3] = {rows, cols, 4};
                       ^~~~
src/_image_wrapper.cpp:386:24: note: insert an explicit cast to silence this 
issue
    npy_intp dim[3] = {rows, cols, 4};
                       ^~~~
                       static_cast<npy_intp>( )
src/_image_wrapper.cpp:386:30: error: non-constant-expression cannot be 
narrowed from type 'unsigned int' to 'npy_intp' (aka 'long') in initializer 
list [-Wc++11-narrowing]
    npy_intp dim[3] = {rows, cols, 4};
                             ^~~~
src/_image_wrapper.cpp:386:30: note: insert an explicit cast to silence this 
issue
    npy_intp dim[3] = {rows, cols, 4};
                             ^~~~
                             static_cast<npy_intp>( )
src/_image_wrapper.cpp:431:24: error: non-constant-expression cannot be 
narrowed from type 'unsigned int' to 'npy_intp' (aka 'long') in initializer 
list [-Wc++11-narrowing]
    npy_intp dim[3] = {rows, cols, 4};
                       ^~~~
src/_image_wrapper.cpp:431:24: note: insert an explicit cast to silence this 
issue
    npy_intp dim[3] = {rows, cols, 4};
                       ^~~~
                       static_cast<npy_intp>( )
src/_image_wrapper.cpp:431:30: error: non-constant-expression cannot be 
narrowed from type 'unsigned int' to 'npy_intp' (aka 'long') in initializer 
list [-Wc++11-narrowing]
    npy_intp dim[3] = {rows, cols, 4};
                             ^~~~
src/_image_wrapper.cpp:431:30: note: insert an explicit cast to silence this 
issue
    npy_intp dim[3] = {rows, cols, 4};
                             ^~~~
                             static_cast<npy_intp>( )

Reply via email to