{"action":"created","issue":{"url":"https://api.github.com/repos/flyx/OpenGLAda/issues/127","repository_url":"https://api.github.com/repos/flyx/OpenGLAda","labels_url":"https://api.github.com/repos/flyx/OpenGLAda/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/flyx/OpenGLAda/issues/127/comments","events_url":"https://api.github.com/repos/flyx/OpenGLAda/issues/127/events","html_url":"https://github.com/flyx/OpenGLAda/issues/127","id":333042109,"node_id":"MDU6SXNzdWUzMzMwNDIxMDk=","number":127,"title":"Link Problem with GNAT 2018","user":{"login":"rogermc2","id":12540410,"node_id":"MDQ6VXNlcjEyNTQwNDEw","avatar_url":"https://avatars0.githubusercontent.com/u/12540410?v=4","gravatar_id":"","url":"https://api.github.com/users/rogermc2","html_url":"https://github.com/rogermc2","followers_url":"https://api.github.com/users/rogermc2/followers","following_url":"https://api.github.com/users/rogermc2/following{/other_user}","gists_url":"https://api.github.com/users/rogermc2/gists{/gist_id}","starred_url":"https://api.github.com/users/rogermc2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogermc2/subscriptions","organizations_url":"https://api.github.com/users/rogermc2/orgs","repos_url":"https://api.github.com/users/rogermc2/repos","events_url":"https://api.github.com/users/rogermc2/events{/privacy}","received_events_url":"https://api.github.com/users/rogermc2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":26,"created_at":"2018-06-17T07:22:53Z","updated_at":"2018-07-03T05:03:01Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I have recently installed GNAT 2018 but my examples no longer build as they fail with:\r\n~~~\r\ngprbuild -d -P/Ada_Source/OpenGLAda/opengl.gpr -XLibrary_Type=static -XAuto_Exceptions=enabled -XMode=debug -XWindowing_System=quartz\r\nCompile\r\n   [ada]          gl-api-mac_os_x.adb\r\ngnat1: invalid switch: -gnat05\r\ngprbuild: *** compilation phase failed\r\n[2018-06-17 17:11:48] process exited with status 4, 1% (1/57), elapsed time: 00.85s\r\n~~~\r\nI don't think that I can correct this on my own system as the `-gnat05` switch appears to be inherited from `opengl.gpr` etc..\r\n"},"comment":{"url":"https://api.github.com/repos/flyx/OpenGLAda/issues/comments/402013921","html_url":"https://github.com/flyx/OpenGLAda/issues/127#issuecomment-402013921","issue_url":"https://api.github.com/repos/flyx/OpenGLAda/issues/127","id":402013921,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjAxMzkyMQ==","user":{"login":"rogermc2","id":12540410,"node_id":"MDQ6VXNlcjEyNTQwNDEw","avatar_url":"https://avatars0.githubusercontent.com/u/12540410?v=4","gravatar_id":"","url":"https://api.github.com/users/rogermc2","html_url":"https://github.com/rogermc2","followers_url":"https://api.github.com/users/rogermc2/followers","following_url":"https://api.github.com/users/rogermc2/following{/other_user}","gists_url":"https://api.github.com/users/rogermc2/gists{/gist_id}","starred_url":"https://api.github.com/users/rogermc2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogermc2/subscriptions","organizations_url":"https://api.github.com/users/rogermc2/orgs","repos_url":"https://api.github.com/users/rogermc2/repos","events_url":"https://api.github.com/users/rogermc2/events{/privacy}","received_events_url":"https://api.github.com/users/rogermc2/received_events","type":"User","site_admin":false},"created_at":"2018-07-03T05:03:01Z","updated_at":"2018-07-03T05:03:01Z","author_association":"CONTRIBUTOR","body":"I tried \r\n~~~\r\n    procedure Read (this : in out MPP_Image;\r\n                      File_Name : String);\r\n      pragma Import (Cpp, Read, \"_ZN6Magick5Image4readERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE\");\r\n~~~\r\nbut the program crashes immediately with\r\n~~~\r\nMacBook-Air:CPP_Test_7_Ada rogermcmurtrie$ ./copy_7 \r\nraised CONSTRAINT_ERROR : erroneous memory access\r\n~~~\r\nThe same occurs using the debugger:\r\n~~~\r\n(gdb) start \r\nTemporary breakpoint 3 at 0x10000140d: file /OpenGL_Projects/ogldev/IM_Test/CPP_Copy_Tests/CPP_Test_7_Ada/src/Copy_7.adb, line 12.\r\nStarting program: /OpenGL_Projects/ogldev/IM_Test/CPP_Copy_Tests/CPP_Test_7_Ada/copy_7 \r\n[New Thread 0xc03 of process 1901]\r\n[New Thread 0xe03 of process 1901]\r\nDuring startup program terminated with signal SIGTRAP, Trace/breakpoint trap.\r\n~~~\r\nI agree that this problem is probably irrelevant to the the `Varyings` problem.\r\n"}}
{"actor":{"display_login":"rogermc2"}}