{"action":"created","issue":{"url":"https://api.github.com/repos/mn416/QPULib/issues/70","repository_url":"https://api.github.com/repos/mn416/QPULib","labels_url":"https://api.github.com/repos/mn416/QPULib/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/mn416/QPULib/issues/70/comments","events_url":"https://api.github.com/repos/mn416/QPULib/issues/70/events","html_url":"https://github.com/mn416/QPULib/issues/70","id":386243912,"node_id":"MDU6SXNzdWUzODYyNDM5MTI=","number":70,"title":"Cannot Compile","user":{"login":"zertyz","id":20879629,"node_id":"MDQ6VXNlcjIwODc5NjI5","avatar_url":"https://avatars1.githubusercontent.com/u/20879629?v=4","gravatar_id":"","url":"https://api.github.com/users/zertyz","html_url":"https://github.com/zertyz","followers_url":"https://api.github.com/users/zertyz/followers","following_url":"https://api.github.com/users/zertyz/following{/other_user}","gists_url":"https://api.github.com/users/zertyz/gists{/gist_id}","starred_url":"https://api.github.com/users/zertyz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zertyz/subscriptions","organizations_url":"https://api.github.com/users/zertyz/orgs","repos_url":"https://api.github.com/users/zertyz/repos","events_url":"https://api.github.com/users/zertyz/events{/privacy}","received_events_url":"https://api.github.com/users/zertyz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-30T15:53:03Z","updated_at":"2018-11-30T16:11:00Z","closed_at":null,"author_association":"NONE","body":"I'm using an updated Archlinux on a Raspberry Pi 1 B+ and compilation attempt is:\r\n\r\n[root@SmallPi Tests]# make QPU=1 GCD\r\nCompiling GCD.cpp\r\nIn file included from ../Lib/QPULib.h:6,\r\n                 from GCD.cpp:2:\r\n../Lib/Source/Ptr.h: In copy constructor ‘Ptr<T>::Ptr(Ptr<T>&)’:\r\n../Lib/Source/Ptr.h:63:5: error: there are no arguments to ‘assign’ that depend on a template parameter, so a declaration of ‘assign’ must be available [-fpermissive]\r\n     assign(this->expr, x.expr);\r\n     ^~~~~~\r\n../Lib/Source/Ptr.h:63:5: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)\r\n../Lib/Source/Ptr.h: In copy constructor ‘Ptr<T>::Ptr(const Ptr<T>&)’:\r\n../Lib/Source/Ptr.h:68:5: error: there are no arguments to ‘assign’ that depend on a template parameter, so a declaration of ‘assign’ must be available [-fpermissive]\r\n     assign(this->expr, x.expr);\r\n     ^~~~~~\r\n../Lib/Source/Ptr.h: In member function ‘Ptr<T>& Ptr<T>::operator=(Ptr<T>&)’:\r\n../Lib/Source/Ptr.h:73:5: error: there are no arguments to ‘assign’ that depend on a template parameter, so a declaration of ‘assign’ must be available [-fpermissive]\r\n     assign(this->expr, rhs.expr);\r\n     ^~~~~~\r\nmake: *** [Makefile:121: GCD.o] Error 1\r\n\r\nVersions:\r\n[root@SmallPi Tests]# gcc --version\r\ngcc (GCC) 8.2.0\r\nCopyright (C) 2018 Free Software Foundation, Inc.\r\nThis is free software; see the source for copying conditions.  There is NO\r\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\r\n[root@SmallPi Tests]# uname -a\r\nLinux SmallPi 4.14.83-2-ARCH #1 SMP Sat Nov 24 23:09:29 UTC 2018 armv6l GNU/Linux"},"comment":{"url":"https://api.github.com/repos/mn416/QPULib/issues/comments/443253246","html_url":"https://github.com/mn416/QPULib/issues/70#issuecomment-443253246","issue_url":"https://api.github.com/repos/mn416/QPULib/issues/70","id":443253246,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzI1MzI0Ng==","user":{"login":"zertyz","id":20879629,"node_id":"MDQ6VXNlcjIwODc5NjI5","avatar_url":"https://avatars1.githubusercontent.com/u/20879629?v=4","gravatar_id":"","url":"https://api.github.com/users/zertyz","html_url":"https://github.com/zertyz","followers_url":"https://api.github.com/users/zertyz/followers","following_url":"https://api.github.com/users/zertyz/following{/other_user}","gists_url":"https://api.github.com/users/zertyz/gists{/gist_id}","starred_url":"https://api.github.com/users/zertyz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zertyz/subscriptions","organizations_url":"https://api.github.com/users/zertyz/orgs","repos_url":"https://api.github.com/users/zertyz/repos","events_url":"https://api.github.com/users/zertyz/events{/privacy}","received_events_url":"https://api.github.com/users/zertyz/received_events","type":"User","site_admin":false},"created_at":"2018-11-30T16:11:00Z","updated_at":"2018-11-30T16:11:00Z","author_association":"NONE","body":"*** UPDATE 2 ***\r\n\r\nOne of the tests needs fixing:\r\n\r\n[root@SmallPi Tests]# make QPU=1 TriFloat\r\nclang++     TriFloat.cpp   -o TriFloat\r\nTriFloat.cpp:1:10: fatal error: 'QPULib.h' file not found\r\n#include \"QPULib.h\"\r\n         ^~~~~~~~~~\r\n1 error generated.\r\nmake: *** [<builtin>: TriFloat] Error 1\r\n"}}
{"actor":{"display_login":"zertyz"}}