yurivict opened a new issue #17076: 1.6.0.rc0 fails to build with clang: 
reinterpret_cast from 'nullptr_t' to 'DType *' (aka 'float *') is not allowed
URL: https://github.com/apache/incubator-mxnet/issues/17076
 
 
   clang-8 fails to build mxnet on FreeBSD:
   ```
   In file included from 
/usr/ports/misc/py-mxnet/work/incubator-mxnet-1.6.0.rc0/src/operator/numpy/np_einsum_op.cc:58:
   
/usr/ports/misc/py-mxnet/work/incubator-mxnet-1.6.0.rc0/src/operator/numpy/./np_einsum_op-inl.h:704:31:
 error: reinterpret_cast from 'nullptr_t' to 'DType *' (aka 'float *') is not 
allowed
                                 reinterpret_cast<DType*>(NULL));
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   
/usr/ports/misc/py-mxnet/work/incubator-mxnet-1.6.0.rc0/src/operator/numpy/../mxnet_op.h:166:6:
 note: expanded from macro 'MXNET_NDIM_SWITCH_EX'
       {__VA_ARGS__}                                  \
        ^~~~~~~~~~~
   
/usr/ports/misc/py-mxnet/work/incubator-mxnet-1.6.0.rc0/src/operator/numpy/../mxnet_op.h:100:8:
 note: expanded from macro 'MXNET_ASSIGN_REQ_SWITCH'
         {__VA_ARGS__}                                 \
          ^~~~~~~~~~~
   
/usr/ports/misc/py-mxnet/work/incubator-mxnet-1.6.0.rc0/src/operator/numpy/../mxnet_op.h:371:8:
 note: expanded from macro 'MXNET_ACC_TYPE_SWITCH'
         {__VA_ARGS__}                                        \
          ^~~~~~~~~~~
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to