{"action":"created","issue":{"url":"https://api.github.com/repos/supercollider/supercollider/issues/1794","labels_url":"https://api.github.com/repos/supercollider/supercollider/issues/1794/labels{/name}","comments_url":"https://api.github.com/repos/supercollider/supercollider/issues/1794/comments","events_url":"https://api.github.com/repos/supercollider/supercollider/issues/1794/events","html_url":"https://github.com/supercollider/supercollider/issues/1794","id":126987995,"number":1794,"title":"supernova compilation error","user":{"login":"backseatviolist","id":1211064,"avatar_url":"https://avatars.githubusercontent.com/u/1211064?v=3","gravatar_id":"","url":"https://api.github.com/users/backseatviolist","html_url":"https://github.com/backseatviolist","followers_url":"https://api.github.com/users/backseatviolist/followers","following_url":"https://api.github.com/users/backseatviolist/following{/other_user}","gists_url":"https://api.github.com/users/backseatviolist/gists{/gist_id}","starred_url":"https://api.github.com/users/backseatviolist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/backseatviolist/subscriptions","organizations_url":"https://api.github.com/users/backseatviolist/orgs","repos_url":"https://api.github.com/users/backseatviolist/repos","events_url":"https://api.github.com/users/backseatviolist/events{/privacy}","received_events_url":"https://api.github.com/users/backseatviolist/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-01-16T00:51:11Z","updated_at":"2016-01-16T14:05:40Z","closed_at":"2016-01-16T11:29:54Z","body":"On 32-bit Ubuntu. A clean build with the latest master fails with the following error:\r\n\r\n    In file included from /home/nathan/src/supercollider/server/supernova/sc/sc_synthdef.hpp:29:0,\r\n                     from /home/nathan/src/supercollider/server/supernova/sc/sc_synth_definition.hpp:24,\r\n                     from /home/nathan/src/supercollider/server/supernova/sc/sc_synth.hpp:29,\r\n                     from /home/nathan/src/supercollider/server/supernova/sc/sc_synth_definition.cpp:24:\r\n    /home/nathan/src/supercollider/server/supernova/./utilities/malloc_aligned.hpp:52:73: warning: ‘assume_aligned’ attribute directive ignored [-Wattributes]\r\n     inline void* MALLOC ASSUME_ALIGNED(64) malloc_aligned(std::size_t nbytes)\r\n                                                                             ^\r\n    In file included from /home/nathan/src/supercollider/external_libraries/boost/boost/config.hpp:39:0,\r\n                     from /home/nathan/src/supercollider/external_libraries/boost/boost/filesystem/operations.hpp:18,\r\n                     from /home/nathan/src/supercollider/server/supernova/sc/sc_synth_definition.cpp:22:\r\n    /home/nathan/src/supercollider/external_libraries/boost/boost/config/compiler/gcc.hpp:95:45: error: expected identifier before numeric constant\r\n     #define BOOST_LIKELY(x) __builtin_expect(x, 1)\r\n                                                 ^\r\n    /home/nathan/src/supercollider/server/supernova/./utilities/branch_hints.hpp:24:21: note: in expansion of macro ‘BOOST_LIKELY’\r\n     #define likely(x)   BOOST_LIKELY(x)\r\n                         ^\r\n    /home/nathan/src/supercollider/external_libraries/nova-tt/nova-tt/branch_hints.hpp:28:13: note: in expansion of macro ‘likely’\r\n     inline bool likely(bool expr)\r\n                 ^\r\n    /home/nathan/src/supercollider/external_libraries/boost/boost/config/compiler/gcc.hpp:95:45: error: expected ‘,’ or ‘...’ before numeric constant\r\n     #define BOOST_LIKELY(x) __builtin_expect(x, 1)\r\n                                                 ^\r\n    /home/nathan/src/supercollider/server/supernova/./utilities/branch_hints.hpp:24:21: note: in expansion of macro ‘BOOST_LIKELY’\r\n     #define likely(x)   BOOST_LIKELY(x)\r\n                         ^\r\n    /home/nathan/src/supercollider/external_libraries/nova-tt/nova-tt/branch_hints.hpp:28:13: note: in expansion of macro ‘likely’\r\n     inline bool likely(bool expr)\r\n                 ^\r\n    /home/nathan/src/supercollider/external_libraries/boost/boost/config/compiler/gcc.hpp:96:47: error: expected identifier before numeric constant\r\n     #define BOOST_UNLIKELY(x) __builtin_expect(x, 0)\r\n                                                   ^\r\n    /home/nathan/src/supercollider/server/supernova/./utilities/branch_hints.hpp:25:21: note: in expansion of macro ‘BOOST_UNLIKELY’\r\n     #define unlikely(x) BOOST_UNLIKELY(x)\r\n                         ^\r\n    /home/nathan/src/supercollider/external_libraries/nova-tt/nova-tt/branch_hints.hpp:38:13: note: in expansion of macro ‘unlikely’\r\n     inline bool unlikely(bool expr)\r\n                 ^\r\n    /home/nathan/src/supercollider/external_libraries/boost/boost/config/compiler/gcc.hpp:96:47: error: expected ‘,’ or ‘...’ before numeric constant\r\n     #define BOOST_UNLIKELY(x) __builtin_expect(x, 0)\r\n                                                   ^\r\n    /home/nathan/src/supercollider/server/supernova/./utilities/branch_hints.hpp:25:21: note: in expansion of macro ‘BOOST_UNLIKELY’\r\n     #define unlikely(x) BOOST_UNLIKELY(x)\r\n                         ^\r\n    /home/nathan/src/supercollider/external_libraries/nova-tt/nova-tt/branch_hints.hpp:38:13: note: in expansion of macro ‘unlikely’\r\n     inline bool unlikely(bool expr)\r\n                 ^\r\n    /home/nathan/src/supercollider/external_libraries/nova-tt/nova-tt/branch_hints.hpp: In function ‘bool nova::nova_tt::__builtin_expect(bool, int)’:\r\n    /home/nathan/src/supercollider/external_libraries/boost/boost/config/compiler/gcc.hpp:96:27: error: redefinition of ‘bool nova::nova_tt::__builtin_expect(bool, int)’\r\n     #define BOOST_UNLIKELY(x) __builtin_expect(x, 0)\r\n                               ^\r\n    /home/nathan/src/supercollider/server/supernova/./utilities/branch_hints.hpp:25:21: note: in expansion of macro ‘BOOST_UNLIKELY’\r\n     #define unlikely(x) BOOST_UNLIKELY(x)\r\n                         ^\r\n    /home/nathan/src/supercollider/external_libraries/nova-tt/nova-tt/branch_hints.hpp:38:13: note: in expansion of macro ‘unlikely’\r\n     inline bool unlikely(bool expr)\r\n                 ^\r\n    /home/nathan/src/supercollider/external_libraries/boost/boost/config/compiler/gcc.hpp:95:25: error: ‘bool nova::nova_tt::__builtin_expect(bool, int)’ previously defined here\r\n     #define BOOST_LIKELY(x) __builtin_expect(x, 1)\r\n                             ^\r\n    /home/nathan/src/supercollider/server/supernova/./utilities/branch_hints.hpp:24:21: note: in expansion of macro ‘BOOST_LIKELY’\r\n     #define likely(x)   BOOST_LIKELY(x)\r\n                         ^\r\n    /home/nathan/src/supercollider/external_libraries/nova-tt/nova-tt/branch_hints.hpp:28:13: note: in expansion of macro ‘likely’\r\n     inline bool likely(bool expr)\r\n                 ^\r\n    In file included from /home/nathan/src/supercollider/server/supernova/sc/../server/memory_pool.hpp:22:0,\r\n                     from /home/nathan/src/supercollider/server/supernova/sc/../server/node_types.hpp:26,\r\n                     from /home/nathan/src/supercollider/server/supernova/sc/../server/synth.hpp:27,\r\n                     from /home/nathan/src/supercollider/server/supernova/sc/sc_synth.hpp:31,\r\n                     from /home/nathan/src/supercollider/server/supernova/sc/sc_synth_definition.cpp:24:\r\n    /home/nathan/src/supercollider/server/supernova/sc/../server/../utilities/simple_pool.hpp: At global scope:\r\n    /home/nathan/src/supercollider/server/supernova/sc/../server/../utilities/simple_pool.hpp:125:61: warning: ‘assume_aligned’ attribute directive ignored [-Wattributes]\r\n         void * MALLOC ASSUME_ALIGNED(32) malloc(std::size_t size)\r\n                                                                 ^\r\n    /home/nathan/src/supercollider/server/supernova/sc/../server/../utilities/simple_pool.hpp:131:72: warning: ‘assume_aligned’ attribute directive ignored [-Wattributes]\r\n         void * MALLOC ASSUME_ALIGNED(32) realloc(void * p, std::size_t size)\r\n                                                                            ^\r\n    make[2]: *** [server/supernova/CMakeFiles/libsupernova.dir/sc/sc_synth_definition.cpp.o] Error 1\r\n    make[1]: *** [server/supernova/CMakeFiles/libsupernova.dir/all] Error 2\r\n    make: *** [all] Error 2"},"comment":{"url":"https://api.github.com/repos/supercollider/supercollider/issues/comments/172208937","html_url":"https://github.com/supercollider/supercollider/issues/1794#issuecomment-172208937","issue_url":"https://api.github.com/repos/supercollider/supercollider/issues/1794","id":172208937,"user":{"login":"timblechmann","id":792880,"avatar_url":"https://avatars.githubusercontent.com/u/792880?v=3","gravatar_id":"","url":"https://api.github.com/users/timblechmann","html_url":"https://github.com/timblechmann","followers_url":"https://api.github.com/users/timblechmann/followers","following_url":"https://api.github.com/users/timblechmann/following{/other_user}","gists_url":"https://api.github.com/users/timblechmann/gists{/gist_id}","starred_url":"https://api.github.com/users/timblechmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timblechmann/subscriptions","organizations_url":"https://api.github.com/users/timblechmann/orgs","repos_url":"https://api.github.com/users/timblechmann/repos","events_url":"https://api.github.com/users/timblechmann/events{/privacy}","received_events_url":"https://api.github.com/users/timblechmann/received_events","type":"User","site_admin":false},"created_at":"2016-01-16T14:05:40Z","updated_at":"2016-01-16T14:05:40Z","body":"my point is: almost none of these questions are SC specific. most of them are github specific. and github has plenty of documentation, which is probably better written than anything that the SC community can come up with.\r\n"}}