{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/345","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/345/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/345/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/345/events","html_url":"https://github.com/tensorflow/tensorflow/issues/345","id":118724390,"number":345,"title":"conv_grad_ops.cc:623:46: error: invalid use of 'auto'","user":{"login":"markusdr","id":1832155,"avatar_url":"https://avatars.githubusercontent.com/u/1832155?v=3","gravatar_id":"","url":"https://api.github.com/users/markusdr","html_url":"https://github.com/markusdr","followers_url":"https://api.github.com/users/markusdr/followers","following_url":"https://api.github.com/users/markusdr/following{/other_user}","gists_url":"https://api.github.com/users/markusdr/gists{/gist_id}","starred_url":"https://api.github.com/users/markusdr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markusdr/subscriptions","organizations_url":"https://api.github.com/users/markusdr/orgs","repos_url":"https://api.github.com/users/markusdr/repos","events_url":"https://api.github.com/users/markusdr/events{/privacy}","received_events_url":"https://api.github.com/users/markusdr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/installation/startup","name":"installation/startup","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"vrv","id":463737,"avatar_url":"https://avatars.githubusercontent.com/u/463737?v=3","gravatar_id":"","url":"https://api.github.com/users/vrv","html_url":"https://github.com/vrv","followers_url":"https://api.github.com/users/vrv/followers","following_url":"https://api.github.com/users/vrv/following{/other_user}","gists_url":"https://api.github.com/users/vrv/gists{/gist_id}","starred_url":"https://api.github.com/users/vrv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrv/subscriptions","organizations_url":"https://api.github.com/users/vrv/orgs","repos_url":"https://api.github.com/users/vrv/repos","events_url":"https://api.github.com/users/vrv/events{/privacy}","received_events_url":"https://api.github.com/users/vrv/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-11-24T23:16:49Z","updated_at":"2016-02-10T10:25:53Z","closed_at":"2015-12-07T22:55:46Z","body":"I'm getting a compile error when trying to compile the `example_trainer` using gcc 4.8.1:\r\n\r\n    $ bazel build -c opt --config=cuda //tensorflow/cc:tutorials_example_trainer  --verbose_failures \r\n    ____From Compiling tensorflow/core/kernels/conv_grad_ops.cc:\r\n    tensorflow/core/kernels/conv_grad_ops.cc: In instantiation of 'tensorflow::Conv2DCustomBackpropFilterOp<Device, T>::Compute(tensorflow::OpKernelContext*) [with Device = Eigen::ThreadPoolDevice; T = float]\r\n    ::__lambda3':\r\n    tensorflow/core/kernels/conv_grad_ops.cc:621:22:   required from 'struct tensorflow::Conv2DCustomBackpropFilterOp<Device, T>::Compute(tensorflow::OpKernelContext*) [with Device = Eigen::ThreadPoolDevice; \r\n    T = float]::__lambda3'\r\n    tensorflow/core/kernels/conv_grad_ops.cc:632:7:   required from 'void tensorflow::Conv2DCustomBackpropFilterOp<Device, T>::Compute(tensorflow::OpKernelContext*) [with Device = Eigen::ThreadPoolDevice; T =\r\n     float]'\r\n    tensorflow/core/kernels/conv_grad_ops.cc:1265:1:   required from here\r\n    tensorflow/core/kernels/conv_grad_ops.cc:621:56: error: use of 'tensorflow::Conv2DCustomBackpropFilterOp<Device, T>::Compute(tensorflow::OpKernelContext*) [with Device = Eigen::ThreadPoolDevice; T = float]::__lambda3::__col_buffer_data' before deduction of 'auto'\r\n                         &size_A](int64 start, int64 limit) {\r\n                                                            ^\r\n    tensorflow/core/kernels/conv_grad_ops.cc:621:56: error: use of 'tensorflow::Conv2DCustomBackpropFilterOp<Device, T>::Compute(tensorflow::OpKernelContext*) [with Device = Eigen::ThreadPoolDevice; T = float]::__lambda3::__col_buffer_data' before deduction of 'auto'\r\n    tensorflow/core/kernels/conv_grad_ops.cc:621:56: error: use of 'tensorflow::Conv2DCustomBackpropFilterOp<Device, T>::Compute(tensorflow::OpKernelContext*) [with Device = Eigen::ThreadPoolDevice; T = float]::__lambda3::__input_data' before deduction of 'auto'\r\n    tensorflow/core/kernels/conv_grad_ops.cc:621:56: error: use of 'tensorflow::Conv2DCustomBackpropFilterOp<Device, T>::Compute(tensorflow::OpKernelContext*) [with Device = Eigen::ThreadPoolDevice; T = float]::__lambda3::__input_data' before deduction of 'auto'\r\n    tensorflow/core/kernels/conv_grad_ops.cc:623:46: error: use of 'input_data' before deduction of 'auto'\r\n               auto input_data_shard = input_data + shard_id * input_offset;\r\n                                                  ^\r\n    tensorflow/core/kernels/conv_grad_ops.cc:623:46: error: invalid use of 'auto'\r\n    "},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/182297797","html_url":"https://github.com/tensorflow/tensorflow/issues/345#issuecomment-182297797","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/345","id":182297797,"user":{"login":"peterbraden","id":52586,"avatar_url":"https://avatars.githubusercontent.com/u/52586?v=3","gravatar_id":"","url":"https://api.github.com/users/peterbraden","html_url":"https://github.com/peterbraden","followers_url":"https://api.github.com/users/peterbraden/followers","following_url":"https://api.github.com/users/peterbraden/following{/other_user}","gists_url":"https://api.github.com/users/peterbraden/gists{/gist_id}","starred_url":"https://api.github.com/users/peterbraden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterbraden/subscriptions","organizations_url":"https://api.github.com/users/peterbraden/orgs","repos_url":"https://api.github.com/users/peterbraden/repos","events_url":"https://api.github.com/users/peterbraden/events{/privacy}","received_events_url":"https://api.github.com/users/peterbraden/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T10:25:53Z","updated_at":"2016-02-10T10:25:53Z","body":"This is still an issue, I pulled from master today:\r\n\r\nhttps://travis-ci.org/peterbraden/node-tensorflow/builds/108240579\r\n\r\n```\r\nexternal/eigen_archive/eigen-eigen-fa22401ededc/Eigen/src/Core/Map.h:88:79: note: Eigen::Map<const Eigen::Matrix<float, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> >::Map(const Eigen::Map<const Eigen::Matrix<float, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> >&)\r\n template<typename PlainObjectType, int MapOptions, typename StrideType> class Map\r\n                                                                               ^\r\nexternal/eigen_archive/eigen-eigen-fa22401ededc/Eigen/src/Core/Map.h:88:79: note:   candidate expects 1 argument, 3 provided\r\ntensorflow/core/kernels/conv_grad_ops.cc: In instantiation of 'void tensorflow::Conv2DCustomBackpropInputOp<Device, T>::Compute(tensorflow::OpKernelContext*) [with Device = Eigen::ThreadPoolDevice; T = float]':\r\ntensorflow/core/kernels/conv_grad_ops.cc:1422:1:   required from here\r\ntensorflow/core/kernels/conv_grad_ops.cc:490:22: error: invalid initialization of reference of type 'auto*&' from expression of type 'float*'\r\n         auto shard = [&in_depth, &input_rows, &input_cols, &filter_rows,\r\n                      ^\r\ntensorflow/core/kernels/conv_grad_ops.cc:490:22: error: invalid initialization of reference of type 'auto*&' from expression of type 'float*'\r\n```"}}