{"action":"opened","issue":{"url":"https://api.github.com/repos/RasPlex/OpenPHT/issues/111","repository_url":"https://api.github.com/repos/RasPlex/OpenPHT","labels_url":"https://api.github.com/repos/RasPlex/OpenPHT/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/RasPlex/OpenPHT/issues/111/comments","events_url":"https://api.github.com/repos/RasPlex/OpenPHT/issues/111/events","html_url":"https://github.com/RasPlex/OpenPHT/issues/111","id":164528236,"number":111,"title":"Build errors with g++-6.1.1 -- Fedora 24","user":{"login":"truckershitch","id":10182029,"avatar_url":"https://avatars.githubusercontent.com/u/10182029?v=3","gravatar_id":"","url":"https://api.github.com/users/truckershitch","html_url":"https://github.com/truckershitch","followers_url":"https://api.github.com/users/truckershitch/followers","following_url":"https://api.github.com/users/truckershitch/following{/other_user}","gists_url":"https://api.github.com/users/truckershitch/gists{/gist_id}","starred_url":"https://api.github.com/users/truckershitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/truckershitch/subscriptions","organizations_url":"https://api.github.com/users/truckershitch/orgs","repos_url":"https://api.github.com/users/truckershitch/repos","events_url":"https://api.github.com/users/truckershitch/events{/privacy}","received_events_url":"https://api.github.com/users/truckershitch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-08T13:14:40Z","updated_at":"2016-07-08T13:14:40Z","closed_at":null,"body":"OpenPHT 1.6.2, Fedora 24\r\n\r\nThis seems to be a build error with gcc-6.1.1.\r\n\r\n[me@localhost pht]$ make -j2\r\n[  0%] Built target xbmc-xrandr\r\n[  1%] Built target lib_squish\r\n[  2%] Built target lib_hts\r\n[  2%] Built target ffmpeg\r\n[  8%] Built target lib_upnp\r\n[  9%] Built target cpluff-x86_64-linux\r\n[  9%] Built target wrapper\r\n[  9%] Building CXX object lib/cximage-6.0/CxImage/CMakeFiles/cximage.dir/ximadsp.cpp.o\r\nIn file included from /usr/include/c++/6.1.1/deque:60:0,\r\n                 from /usr/include/c++/6.1.1/queue:60,\r\n                 from /home/syn4pse/plex/src/OpenPHT-1.6.2.123-e23a7eef/lib/cximage-6.0/CxImage/ximadsp.cpp:3480:\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:243:56: error: macro \"min\" passed 3 arguments, but takes just 2\r\n     min(const _Tp& __a, const _Tp& __b, _Compare __comp)\r\n                                                        ^\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:265:56: error: macro \"max\" passed 3 arguments, but takes just 2\r\n     max(const _Tp& __a, const _Tp& __b, _Compare __comp)\r\n                                                        ^\r\nScanning dependencies of target cx_raw\r\n[  9%] Building C object lib/cximage-6.0/raw/CMakeFiles/cx_raw.dir/dcr.c.o\r\nIn file included from /home/syn4pse/plex/src/OpenPHT-1.6.2.123-e23a7eef/lib/cximage-6.0/CxImage/xfile.h:51:0,\r\n                 from /home/syn4pse/plex/src/OpenPHT-1.6.2.123-e23a7eef/lib/cximage-6.0/CxImage/ximage.h:62,\r\n                 from /home/syn4pse/plex/src/OpenPHT-1.6.2.123-e23a7eef/lib/cximage-6.0/CxImage/ximadsp.cpp:6:\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:195:5: error: expected unqualified-id before ‘const’\r\n     min(const _Tp& __a, const _Tp& __b)\r\n     ^\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:195:5: error: expected ‘)’ before ‘const’\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:195:5: error: expected ‘)’ before ‘const’\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:195:5: error: expected ‘)’ before ‘const’\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:195:5: error: expected initializer before ‘const’\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:219:5: error: expected unqualified-id before ‘const’\r\n     max(const _Tp& __a, const _Tp& __b)\r\n     ^\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:219:5: error: expected ‘)’ before ‘const’\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:219:5: error: expected ‘)’ before ‘const’\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:219:5: error: expected ‘)’ before ‘const’\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:219:5: error: expected initializer before ‘const’\r\nIn file included from /usr/include/c++/6.1.1/deque:60:0,\r\n                 from /usr/include/c++/6.1.1/queue:60,\r\n                 from /home/syn4pse/plex/src/OpenPHT-1.6.2.123-e23a7eef/lib/cximage-6.0/CxImage/ximadsp.cpp:3480:\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:243:5: error: ‘std::min’ declared as an ‘inline’ variable\r\n     min(const _Tp& __a, const _Tp& __b, _Compare __comp)\r\n     ^~~\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:246:7: error: expected primary-expression before ‘if’\r\n       if (__comp(__b, __a))\r\n       ^~\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:246:7: error: expected ‘}’ before ‘if’\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:246:7: error: expected ‘;’ before ‘if’\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:248:7: error: expected unqualified-id before ‘return’\r\n       return __a;\r\n       ^~~~~~\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:265:5: error: ‘max’ declared as an ‘inline’ variable\r\n     max(const _Tp& __a, const _Tp& __b, _Compare __comp)\r\n     ^~~\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:268:7: error: expected primary-expression before ‘if’\r\n       if (__comp(__a, __b))\r\n       ^~\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:268:7: error: expected ‘}’ before ‘if’\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:268:7: error: expected ‘;’ before ‘if’\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:270:7: error: expected unqualified-id before ‘return’\r\n       return __a;\r\n       ^~~~~~\r\n/usr/include/c++/6.1.1/bits/stl_algobase.h:271:5: error: expected declaration before ‘}’ token\r\n     }\r\n     ^\r\nlib/cximage-6.0/CxImage/CMakeFiles/cximage.dir/build.make:62: recipe for target 'lib/cximage-6.0/CxImage/CMakeFiles/cximage.dir/ximadsp.cpp.o' failed\r\nmake[2]: *** [lib/cximage-6.0/CxImage/CMakeFiles/cximage.dir/ximadsp.cpp.o] Error 1\r\nCMakeFiles/Makefile2:561: recipe for target 'lib/cximage-6.0/CxImage/CMakeFiles/cximage.dir/all' failed\r\nmake[1]: *** [lib/cximage-6.0/CxImage/CMakeFiles/cximage.dir/all] Error 2\r\nmake[1]: *** Waiting for unfinished jobs....\r\n[  9%] Building C object lib/cximage-6.0/raw/CMakeFiles/cx_raw.dir/libdcr.c.o\r\n[  9%] Linking C static library libcx_raw.a\r\n[  9%] Built target cx_raw\r\nMakefile:149: recipe for target 'all' failed\r\nmake: *** [all] Error 2"}}
{"actor":{"display_login":"truckershitch"}}