{"action":"created","issue":{"url":"https://api.github.com/repos/CaseyCarter/cmcstl2/issues/22","labels_url":"https://api.github.com/repos/CaseyCarter/cmcstl2/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/CaseyCarter/cmcstl2/issues/22/comments","events_url":"https://api.github.com/repos/CaseyCarter/cmcstl2/issues/22/events","html_url":"https://github.com/CaseyCarter/cmcstl2/issues/22","id":116040088,"number":22,"title":"test/detail/temporary_vector.cpp:28:5: error: static assertion failed","user":{"login":"octoploid","id":327746,"avatar_url":"https://avatars.githubusercontent.com/u/327746?v=3","gravatar_id":"","url":"https://api.github.com/users/octoploid","html_url":"https://github.com/octoploid","followers_url":"https://api.github.com/users/octoploid/followers","following_url":"https://api.github.com/users/octoploid/following{/other_user}","gists_url":"https://api.github.com/users/octoploid/gists{/gist_id}","starred_url":"https://api.github.com/users/octoploid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/octoploid/subscriptions","organizations_url":"https://api.github.com/users/octoploid/orgs","repos_url":"https://api.github.com/users/octoploid/repos","events_url":"https://api.github.com/users/octoploid/events{/privacy}","received_events_url":"https://api.github.com/users/octoploid/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-10T06:34:23Z","updated_at":"2015-11-10T08:02:48Z","closed_at":"2015-11-10T07:59:56Z","body":"With gcc trunk:\r\n\r\n```\r\nbuild % CXXFLAGS=\"-O3\" cmake -DCMAKE_CXX_COMPILER=/var/tmp/gcc_test/usr/local/bin/g++ ..\r\nbuild % make\r\n...\r\n \r\n/var/tmp/cmcstl2/test/detail/temporary_vector.cpp: In function ‘int main()’:\r\n/var/tmp/cmcstl2/test/detail/temporary_vector.cpp:27:31: warning: requested alignment 256 is larger than 128 [-Wattributes]\r\n     struct alignas(alignment) foo { char c; };\r\n                               ^\r\n\r\n/var/tmp/cmcstl2/test/detail/temporary_vector.cpp:28:5: error: static assertion failed\r\n     static_assert(alignof(foo) == alignment);\r\n     ^\r\n\r\ntest/detail/CMakeFiles/temporary_vector.dir/build.make:62: recipe for target 'test/detail/CMakeFiles/temporary_vector.dir/temporary_vector.cpp.o' failed\r\nmake[2]: *** [test/detail/CMakeFiles/temporary_vector.dir/temporary_vector.cpp.o] Error 1\r\nCMakeFiles/Makefile2:1631: recipe for target 'test/detail/CMakeFiles/temporary_vector.dir/all' failed\r\nmake[1]: *** [test/detail/CMakeFiles/temporary_vector.dir/all] Error 2\r\nmake[1]: *** Waiting for unfinished jobs....\r\n```"},"comment":{"url":"https://api.github.com/repos/CaseyCarter/cmcstl2/issues/comments/155351805","html_url":"https://github.com/CaseyCarter/cmcstl2/issues/22#issuecomment-155351805","issue_url":"https://api.github.com/repos/CaseyCarter/cmcstl2/issues/22","id":155351805,"user":{"login":"CaseyCarter","id":456873,"avatar_url":"https://avatars.githubusercontent.com/u/456873?v=3","gravatar_id":"","url":"https://api.github.com/users/CaseyCarter","html_url":"https://github.com/CaseyCarter","followers_url":"https://api.github.com/users/CaseyCarter/followers","following_url":"https://api.github.com/users/CaseyCarter/following{/other_user}","gists_url":"https://api.github.com/users/CaseyCarter/gists{/gist_id}","starred_url":"https://api.github.com/users/CaseyCarter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaseyCarter/subscriptions","organizations_url":"https://api.github.com/users/CaseyCarter/orgs","repos_url":"https://api.github.com/users/CaseyCarter/repos","events_url":"https://api.github.com/users/CaseyCarter/events{/privacy}","received_events_url":"https://api.github.com/users/CaseyCarter/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T08:02:48Z","updated_at":"2015-11-10T08:02:48Z","body":"I've changed the test program to not use an alignment larger than 128, although once Concepts are more widely supported I suppose I'll have to come up with some platform-specific configuration and/or pick a small number that is widely applicable."}}