{"action":"created","issue":{"url":"https://api.github.com/repos/CGAL/cgal/issues/539","repository_url":"https://api.github.com/repos/CGAL/cgal","labels_url":"https://api.github.com/repos/CGAL/cgal/issues/539/labels{/name}","comments_url":"https://api.github.com/repos/CGAL/cgal/issues/539/comments","events_url":"https://api.github.com/repos/CGAL/cgal/issues/539/events","html_url":"https://github.com/CGAL/cgal/issues/539","id":120818427,"number":539,"title":"Polyhedron demo: add -fvisibility=hidden and `-z defs` to compiler/linker flags","user":{"login":"lrineau","id":5746675,"avatar_url":"https://avatars.githubusercontent.com/u/5746675?v=3","gravatar_id":"","url":"https://api.github.com/users/lrineau","html_url":"https://github.com/lrineau","followers_url":"https://api.github.com/users/lrineau/followers","following_url":"https://api.github.com/users/lrineau/following{/other_user}","gists_url":"https://api.github.com/users/lrineau/gists{/gist_id}","starred_url":"https://api.github.com/users/lrineau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrineau/subscriptions","organizations_url":"https://api.github.com/users/lrineau/orgs","repos_url":"https://api.github.com/users/lrineau/repos","events_url":"https://api.github.com/users/lrineau/events{/privacy}","received_events_url":"https://api.github.com/users/lrineau/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CGAL/cgal/labels/CGAL%203D%20demo","name":"CGAL 3D demo","color":"bfe5bf"},{"url":"https://api.github.com/repos/CGAL/cgal/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"lrineau","id":5746675,"avatar_url":"https://avatars.githubusercontent.com/u/5746675?v=3","gravatar_id":"","url":"https://api.github.com/users/lrineau","html_url":"https://github.com/lrineau","followers_url":"https://api.github.com/users/lrineau/followers","following_url":"https://api.github.com/users/lrineau/following{/other_user}","gists_url":"https://api.github.com/users/lrineau/gists{/gist_id}","starred_url":"https://api.github.com/users/lrineau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrineau/subscriptions","organizations_url":"https://api.github.com/users/lrineau/orgs","repos_url":"https://api.github.com/users/lrineau/repos","events_url":"https://api.github.com/users/lrineau/events{/privacy}","received_events_url":"https://api.github.com/users/lrineau/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CGAL/cgal/milestones/7","html_url":"https://github.com/CGAL/cgal/milestones/4.8-beta1","labels_url":"https://api.github.com/repos/CGAL/cgal/milestones/7/labels","id":1202221,"number":7,"title":"4.8-beta1","description":"https://cgal.geometryfactory.com/CGAL/Members/wiki/Releases/4.8#Schedule","creator":{"login":"lrineau","id":5746675,"avatar_url":"https://avatars.githubusercontent.com/u/5746675?v=3","gravatar_id":"","url":"https://api.github.com/users/lrineau","html_url":"https://github.com/lrineau","followers_url":"https://api.github.com/users/lrineau/followers","following_url":"https://api.github.com/users/lrineau/following{/other_user}","gists_url":"https://api.github.com/users/lrineau/gists{/gist_id}","starred_url":"https://api.github.com/users/lrineau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrineau/subscriptions","organizations_url":"https://api.github.com/users/lrineau/orgs","repos_url":"https://api.github.com/users/lrineau/repos","events_url":"https://api.github.com/users/lrineau/events{/privacy}","received_events_url":"https://api.github.com/users/lrineau/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":353,"state":"closed","created_at":"2015-07-10T10:06:47Z","updated_at":"2016-04-18T09:30:38Z","due_on":"2016-02-09T23:00:00Z","closed_at":"2016-02-12T17:41:40Z"},"comments":1,"created_at":"2015-12-07T16:51:24Z","updated_at":"2016-04-18T09:30:38Z","closed_at":"2016-04-18T09:30:38Z","body":"To avoid that Linux developers introduce linker errors while modifying the polyhedron demo, the CMake scripts could add:\r\n  - `-fvisibility=hidden` to CMAKE_CXX_FLAGS`, for gcc and clang, on Linux and MacOS,\r\n  - and `-z defs` to `CMAKE_EXE_LINKER_FLAGS`, `CMAKE_MODULE_LINKER_FLAGS`, and `CMAKE_SHARED_LINKER_FLAGS`, on Linux only.\r\n\r\nThose flags enforce a strict linkage policy, and emulate the behavior of the Windows linker.\r\n"},"comment":{"url":"https://api.github.com/repos/CGAL/cgal/issues/comments/211294321","html_url":"https://github.com/CGAL/cgal/issues/539#issuecomment-211294321","issue_url":"https://api.github.com/repos/CGAL/cgal/issues/539","id":211294321,"user":{"login":"lrineau","id":5746675,"avatar_url":"https://avatars.githubusercontent.com/u/5746675?v=3","gravatar_id":"","url":"https://api.github.com/users/lrineau","html_url":"https://github.com/lrineau","followers_url":"https://api.github.com/users/lrineau/followers","following_url":"https://api.github.com/users/lrineau/following{/other_user}","gists_url":"https://api.github.com/users/lrineau/gists{/gist_id}","starred_url":"https://api.github.com/users/lrineau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrineau/subscriptions","organizations_url":"https://api.github.com/users/lrineau/orgs","repos_url":"https://api.github.com/users/lrineau/repos","events_url":"https://api.github.com/users/lrineau/events{/privacy}","received_events_url":"https://api.github.com/users/lrineau/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T09:30:38Z","updated_at":"2016-04-18T09:30:38Z","body":"Fixed by #720."}}