{"action":"closed","issue":{"url":"https://api.github.com/repos/NumScale/nt2/issues/936","labels_url":"https://api.github.com/repos/NumScale/nt2/issues/936/labels{/name}","comments_url":"https://api.github.com/repos/NumScale/nt2/issues/936/comments","events_url":"https://api.github.com/repos/NumScale/nt2/issues/936/events","html_url":"https://github.com/NumScale/nt2/issues/936","id":75617041,"number":936,"title":"can't compile boost.SIMD code ","user":{"login":"anika001","id":12249899,"avatar_url":"https://avatars.githubusercontent.com/u/12249899?v=3","gravatar_id":"","url":"https://api.github.com/users/anika001","html_url":"https://github.com/anika001","followers_url":"https://api.github.com/users/anika001/followers","following_url":"https://api.github.com/users/anika001/following{/other_user}","gists_url":"https://api.github.com/users/anika001/gists{/gist_id}","starred_url":"https://api.github.com/users/anika001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anika001/subscriptions","organizations_url":"https://api.github.com/users/anika001/orgs","repos_url":"https://api.github.com/users/anika001/repos","events_url":"https://api.github.com/users/anika001/events{/privacy}","received_events_url":"https://api.github.com/users/anika001/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-12T14:12:11Z","updated_at":"2015-05-28T21:15:23Z","closed_at":"2015-05-28T21:15:23Z","body":"I have installed nt2 correctly and I have tested the samples given ,it works properly \r\nNow , I would like to test boost.SIMD, I have used the hellow code available on your tutorial but when I am trying to compile , it doesn't work, I got a long list of errors I think it is related to dispatch library, not sure !\r\n\r\nThis is a part of the errors I have gotten \r\n\r\n/usr/local/include/boost/dispatch/functor/functor.hpp:68:32: error: expected identifier\r\n       typedef decltype( boost::declval<This>()(boost::declval<Args>()...) ) type;\r\n                                ^\r\n/usr/local/include/boost/dispatch/functor/functor.hpp:68:45: error: expected unqualified-id before ‘(’ token\r\n       typedef decltype( boost::declval<This>()(boost::declval<Args>()...) ) type;\r\n                                             ^\r\n/usr/local/include/boost/dispatch/functor/functor.hpp:68:45: error: expected ‘)’ before ‘(’ token\r\n/usr/local/include/boost/dispatch/functor/functor.hpp:68:55: error: expected identifier\r\n       typedef decltype( boost::declval<This>()(boost::declval<Args>()...) ) type;\r\n                                                       ^\r\n/usr/local/include/boost/dispatch/functor/functor.hpp:68:68: error: expected unqualified-id before ‘(’ token\r\n       typedef decltype( boost::declval<This>()(boost::declval<Args>()...) ) type;\r\n                                                                    ^\r\n/usr/local/include/boost/dispatch/functor/functor.hpp:68:68: error: expected ‘)’ before ‘(’ token\r\n/usr/local/include/boost/dispatch/functor/functor.hpp:68:69: error: ‘decltype’ declared as function returning a function\r\n       typedef decltype( boost::declval<This>()(boost::declval<Args>()...) ) type;\r\n                                                                     ^\r\n/usr/local/include/boost/dispatch/functor/functor.hpp:68:69: error: expected ‘;’ at end of member declaration\r\n/usr/local/include/boost/dispatch/functor/functor.hpp:68:70: error: expected unqualified-id before ‘...’ token\r\n       typedef decltype( boost::declval<This>()(boost::declval<Args>()...) ) type;\r\n                                                                      ^\r\n/usr/local/include/boost/dispatch/functor/functor.hpp:83:41: error: expected ‘,’ or ‘...’ before ‘&&’ token\r\n     BOOST_AUTO_DECLTYPE operator()( Args&& ...args ) const\r\n                                         ^\r\nIn file included from /usr/local/include/boost/dispatch/functor/functor.hpp:28:0,\r\n                 from /usr/local/include/boost/dispatch/include/functor.hpp:12,\r\n                 from /usr/local/include/boost/simd/include/functor.hpp:16,\r\n                 from /usr/local/include/boost/simd/dsl/functions/evaluate.hpp:12,\r\n                 from /usr/local/include/boost/simd/sdk/simd/pack/generator.hpp:14,\r\n                 from /home/djamila/nt2/modules/boost/simd/sdk/include/boost/simd/sdk/simd/pack.hpp:16,\r\n                 from test.cpp:2:\r\n/usr/local/include/boost/dispatch/functor/functor.hpp:84:5: error: expected type-specifier before ‘decltype’\r\n     BOOST_AUTO_DECLTYPE_BODY(\r\n     ^\r\n\r\n\r\nThank you for the answer in advance"}}