{"action":"created","issue":{"url":"https://api.github.com/repos/jerryd/gtk-fortran/issues/99","repository_url":"https://api.github.com/repos/jerryd/gtk-fortran","labels_url":"https://api.github.com/repos/jerryd/gtk-fortran/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/jerryd/gtk-fortran/issues/99/comments","events_url":"https://api.github.com/repos/jerryd/gtk-fortran/issues/99/events","html_url":"https://github.com/jerryd/gtk-fortran/issues/99","id":176476407,"number":99,"title":"Compilation error","user":{"login":"waltbrainerd","id":1161515,"avatar_url":"https://avatars.githubusercontent.com/u/1161515?v=3","gravatar_id":"","url":"https://api.github.com/users/waltbrainerd","html_url":"https://github.com/waltbrainerd","followers_url":"https://api.github.com/users/waltbrainerd/followers","following_url":"https://api.github.com/users/waltbrainerd/following{/other_user}","gists_url":"https://api.github.com/users/waltbrainerd/gists{/gist_id}","starred_url":"https://api.github.com/users/waltbrainerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waltbrainerd/subscriptions","organizations_url":"https://api.github.com/users/waltbrainerd/orgs","repos_url":"https://api.github.com/users/waltbrainerd/repos","events_url":"https://api.github.com/users/waltbrainerd/events{/privacy}","received_events_url":"https://api.github.com/users/waltbrainerd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jerryd/gtk-fortran/labels/Bug","name":"Bug","color":"e10c02"},{"url":"https://api.github.com/repos/jerryd/gtk-fortran/labels/Support%20request","name":"Support request","color":"e102d8"},{"url":"https://api.github.com/repos/jerryd/gtk-fortran/labels/Windows","name":"Windows","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"vmagnin","id":571423,"avatar_url":"https://avatars.githubusercontent.com/u/571423?v=3","gravatar_id":"","url":"https://api.github.com/users/vmagnin","html_url":"https://github.com/vmagnin","followers_url":"https://api.github.com/users/vmagnin/followers","following_url":"https://api.github.com/users/vmagnin/following{/other_user}","gists_url":"https://api.github.com/users/vmagnin/gists{/gist_id}","starred_url":"https://api.github.com/users/vmagnin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmagnin/subscriptions","organizations_url":"https://api.github.com/users/vmagnin/orgs","repos_url":"https://api.github.com/users/vmagnin/repos","events_url":"https://api.github.com/users/vmagnin/events{/privacy}","received_events_url":"https://api.github.com/users/vmagnin/received_events","type":"User","site_admin":false},"assignees":[{"login":"vmagnin","id":571423,"avatar_url":"https://avatars.githubusercontent.com/u/571423?v=3","gravatar_id":"","url":"https://api.github.com/users/vmagnin","html_url":"https://github.com/vmagnin","followers_url":"https://api.github.com/users/vmagnin/followers","following_url":"https://api.github.com/users/vmagnin/following{/other_user}","gists_url":"https://api.github.com/users/vmagnin/gists{/gist_id}","starred_url":"https://api.github.com/users/vmagnin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmagnin/subscriptions","organizations_url":"https://api.github.com/users/vmagnin/orgs","repos_url":"https://api.github.com/users/vmagnin/repos","events_url":"https://api.github.com/users/vmagnin/events{/privacy}","received_events_url":"https://api.github.com/users/vmagnin/received_events","type":"User","site_admin":false},{"login":"jtappin","id":658624,"avatar_url":"https://avatars.githubusercontent.com/u/658624?v=3","gravatar_id":"","url":"https://api.github.com/users/jtappin","html_url":"https://github.com/jtappin","followers_url":"https://api.github.com/users/jtappin/followers","following_url":"https://api.github.com/users/jtappin/following{/other_user}","gists_url":"https://api.github.com/users/jtappin/gists{/gist_id}","starred_url":"https://api.github.com/users/jtappin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtappin/subscriptions","organizations_url":"https://api.github.com/users/jtappin/orgs","repos_url":"https://api.github.com/users/jtappin/repos","events_url":"https://api.github.com/users/jtappin/events{/privacy}","received_events_url":"https://api.github.com/users/jtappin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-09-12T20:30:38Z","updated_at":"2016-09-13T19:27:25Z","closed_at":null,"body":"Working on Windows 10.\r\nDownloaded latest GTK-Fortran.\r\nI can never seem to get cmake to work, so I used Code::Blocks\r\nto generate a Makefile.\r\nCompiling with MinGW64 gfortran 6.2 gives an error on gtk-hl-tree.f90,\r\nline 3411:36 that G_TYPE_STRING is integer(4) and is being passed to\r\ndummy that is integer(8). The first is declared kind c_long and the dummy is\r\nc_size_t. These are the same on some versions of gfortran, but different\r\non 6.2 (apparently).\r\nI \"fixed\" this by changing gtk-sup.f90, line 60 from c_long to c_size_t.\r\nAll seems to work now, but is this the correct fix?\r\n==============================================\r\nI got the GTK libraries by stealing them from the MSYS2 distribution.\r\nIs this the best way to get them for Windows?\r\n\r\nI have had GTK-Fortran as part of the Fortran Tools (fortran.com) for\r\nsome time and it is a great contribution for Fortran programmers.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/jerryd/gtk-fortran/issues/comments/246795697","html_url":"https://github.com/jerryd/gtk-fortran/issues/99#issuecomment-246795697","issue_url":"https://api.github.com/repos/jerryd/gtk-fortran/issues/99","id":246795697,"user":{"login":"jerryd","id":554873,"avatar_url":"https://avatars.githubusercontent.com/u/554873?v=3","gravatar_id":"","url":"https://api.github.com/users/jerryd","html_url":"https://github.com/jerryd","followers_url":"https://api.github.com/users/jerryd/followers","following_url":"https://api.github.com/users/jerryd/following{/other_user}","gists_url":"https://api.github.com/users/jerryd/gists{/gist_id}","starred_url":"https://api.github.com/users/jerryd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerryd/subscriptions","organizations_url":"https://api.github.com/users/jerryd/orgs","repos_url":"https://api.github.com/users/jerryd/repos","events_url":"https://api.github.com/users/jerryd/events{/privacy}","received_events_url":"https://api.github.com/users/jerryd/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T19:27:25Z","updated_at":"2016-09-13T19:27:25Z","body":"On 09/13/2016 10:45 AM, vmagnin wrote:\n> Hi Walt,\n> have you downloaded gtk-fortran for GTK2 (master branch) or GTK3 (gtk3 branch) ?\n> Do you think it is a gtk-fortran bug or a gfortran bug ? I am still using\n> gfortran 5.4 and have no access to 6.2 under my Linux distribution.\n> Sorry, I can not help you about the best way to get GTK on Windows. I have\n> stopped using windows now so long ago, I have become very incompetent on that OS !\n>\n> Anyway, let's begin to think about the problem and to accumulate some facts and\n> knowledge:\n\nIf you do think its a gfortran bug, surely let me know.\n\nJerry\n\n"}}
{"actor":{"display_login":"jerryd"}}