{"action":"created","issue":{"url":"https://api.github.com/repos/sandyre/libopencad/issues/30","repository_url":"https://api.github.com/repos/sandyre/libopencad","labels_url":"https://api.github.com/repos/sandyre/libopencad/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/sandyre/libopencad/issues/30/comments","events_url":"https://api.github.com/repos/sandyre/libopencad/issues/30/events","html_url":"https://github.com/sandyre/libopencad/issues/30","id":173592947,"number":30,"title":"Doesn't compile on i386 when time_t is defined as int","user":{"login":"lbartoletti","id":7521540,"avatar_url":"https://avatars.githubusercontent.com/u/7521540?v=3","gravatar_id":"","url":"https://api.github.com/users/lbartoletti","html_url":"https://github.com/lbartoletti","followers_url":"https://api.github.com/users/lbartoletti/followers","following_url":"https://api.github.com/users/lbartoletti/following{/other_user}","gists_url":"https://api.github.com/users/lbartoletti/gists{/gist_id}","starred_url":"https://api.github.com/users/lbartoletti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbartoletti/subscriptions","organizations_url":"https://api.github.com/users/lbartoletti/orgs","repos_url":"https://api.github.com/users/lbartoletti/repos","events_url":"https://api.github.com/users/lbartoletti/events{/privacy}","received_events_url":"https://api.github.com/users/lbartoletti/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-27T12:03:04Z","updated_at":"2016-09-21T20:33:36Z","closed_at":"2016-09-21T20:33:36Z","body":"time_t is not necessary a long. On some architecture (for my case FreeBSD i386), time_t is defined as an int (and long for amd64). So, for 32 bits, libopencad doesn't compile:\r\n \r\n```\r\nlib/cadheader.h:78:5: error: constructor cannot be redeclared CADVariant( time_t val );\r\n    ^\r\nlib/cadheader.h:72:5: note: previous declaration is here CADVariant( int val );\r\n```\r\nSee [types.h](https://github.com/freebsd/freebsd/blob/af3e10e5a78d3af8cef6088748978c6c612757f0/sys/x86/include/_types.h)"},"comment":{"url":"https://api.github.com/repos/sandyre/libopencad/issues/comments/248734319","html_url":"https://github.com/sandyre/libopencad/issues/30#issuecomment-248734319","issue_url":"https://api.github.com/repos/sandyre/libopencad/issues/30","id":248734319,"user":{"login":"lbartoletti","id":7521540,"avatar_url":"https://avatars.githubusercontent.com/u/7521540?v=3","gravatar_id":"","url":"https://api.github.com/users/lbartoletti","html_url":"https://github.com/lbartoletti","followers_url":"https://api.github.com/users/lbartoletti/followers","following_url":"https://api.github.com/users/lbartoletti/following{/other_user}","gists_url":"https://api.github.com/users/lbartoletti/gists{/gist_id}","starred_url":"https://api.github.com/users/lbartoletti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbartoletti/subscriptions","organizations_url":"https://api.github.com/users/lbartoletti/orgs","repos_url":"https://api.github.com/users/lbartoletti/repos","events_url":"https://api.github.com/users/lbartoletti/events{/privacy}","received_events_url":"https://api.github.com/users/lbartoletti/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T20:33:36Z","updated_at":"2016-09-21T20:33:36Z","body":"Yes"}}
{"actor":{"display_login":"lbartoletti"}}