You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2017/12/14 23:54:21 UTC

[GitHub] rahul003 opened a new issue #9076: Khatri Rao test fails to compile

rahul003 opened a new issue #9076: Khatri Rao test fails to compile
URL: https://github.com/apache/incubator-mxnet/issues/9076
 
 
   ## Description
   https://github.com/apache/incubator-mxnet/blob/master/tests/cpp/operator/krprod_test.cc . I think this is after this PR https://github.com/apache/incubator-mxnet/pull/7781/files was merged. 
   
   @cswiercz Can you please check and ensure that this test builds?
   
   MXNet commit hash: a8862a71f18fccb9d4453579b77b65363601c59a
   
   Build config:
   Any
   
   ## Error Message:
   ```
   In file included from tests/cpp/operator/krprod_test.cc:30:0:
   src/operator/contrib/krprod.h:255:37: error: ?nnvm? does not name a type
    inline void KhatriRaoCompute_(const nnvm::NodeAttrs &attrs,
                                        ^
   src/operator/contrib/krprod.h:255:53: error: expected unqualified-id before ?&? token
    inline void KhatriRaoCompute_(const nnvm::NodeAttrs &attrs,
                                                        ^
   src/operator/contrib/krprod.h:255:53: error: expected ?)? before ?&? token
   src/operator/contrib/krprod.h:255:54: error: expected initializer before ?attrs?
    inline void KhatriRaoCompute_(const nnvm::NodeAttrs &attrs,
                                                         ^
   src/operator/contrib/krprod.h:275:36: error: ?nnvm? does not name a type
    inline void KhatriRaoCompute(const nnvm::NodeAttrs &attrs,
                                       ^
   src/operator/contrib/krprod.h:275:52: error: expected unqualified-id before ?&? token
    inline void KhatriRaoCompute(const nnvm::NodeAttrs &attrs,
                                                       ^
   src/operator/contrib/krprod.h:275:52: error: expected ?)? before ?&? token
   src/operator/contrib/krprod.h:275:53: error: expected initializer before ?attrs?
    inline void KhatriRaoCompute(const nnvm::NodeAttrs &attrs,
                                                        ^
   tests/cpp/unittest.mk:33: recipe for target 'build/tests/cpp/operator/krprod_test.o' failed
   make: *** [build/tests/cpp/operator/krprod_test.o] Error 1
   ```
   ## Steps to reproduce
   1. make
   2. make test
   

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


With regards,
Apache Git Services