{"action":"opened","issue":{"url":"https://api.github.com/repos/cornell-zhang/bnn-fpga/issues/5","repository_url":"https://api.github.com/repos/cornell-zhang/bnn-fpga","labels_url":"https://api.github.com/repos/cornell-zhang/bnn-fpga/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/cornell-zhang/bnn-fpga/issues/5/comments","events_url":"https://api.github.com/repos/cornell-zhang/bnn-fpga/issues/5/events","html_url":"https://github.com/cornell-zhang/bnn-fpga/issues/5","id":250664833,"number":5,"title":"max_align_t problem","user":{"login":"qingzengsong","id":8049040,"avatar_url":"https://avatars3.githubusercontent.com/u/8049040?v=4","gravatar_id":"","url":"https://api.github.com/users/qingzengsong","html_url":"https://github.com/qingzengsong","followers_url":"https://api.github.com/users/qingzengsong/followers","following_url":"https://api.github.com/users/qingzengsong/following{/other_user}","gists_url":"https://api.github.com/users/qingzengsong/gists{/gist_id}","starred_url":"https://api.github.com/users/qingzengsong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qingzengsong/subscriptions","organizations_url":"https://api.github.com/users/qingzengsong/orgs","repos_url":"https://api.github.com/users/qingzengsong/repos","events_url":"https://api.github.com/users/qingzengsong/events{/privacy}","received_events_url":"https://api.github.com/users/qingzengsong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-16T15:17:49Z","updated_at":"2017-08-16T15:17:49Z","closed_at":null,"body":"when mak in cpp，I have a problem ‘’max_align_t‘’.\r\nIn file included from /opt/Xilinx/SDx/2016.4/Vivado_HLS/include/gmp.h:53:0,\r\n                 from /opt/Xilinx/SDx/2016.4/Vivado_HLS/include/floating_point_v7_0_bitacc_cmodel.h:143,\r\n                 from /opt/Xilinx/SDx/2016.4/Vivado_HLS/include/hls_half.h:40,\r\n                 from /opt/Xilinx/SDx/2016.4/Vivado_HLS/include/ap_int.h:28,\r\n                 from ../utils/Typedefs.h:4,\r\n                 from AccelTest.h:4,\r\n                 from AccelTest.cpp:1:\r\n/usr/include/c++/5/cstddef:51:11: error: ‘::max_align_t’ has not been declared\r\n   using ::max_align_t;\r\n           ^\r\n\r\n\r\nI add #include <cstddef> to \r\nParamIO.cpp\r\nCommon.cpp\r\nDataIO.cpp\r\nAccelTest.cpp\r\n  can solve this problem.\r\n\r\nBut, this wether lead other problem, since \r\n'ParamIO.cpp\r\nCommon.cpp\r\nDataIO.cpp\r\nAccelTest.cpp'\r\nwill be build by Vivado_HLS?\r\n\r\n\r\n"}}
{"actor":{"display_login":"qingzengsong"}}