{"action":"created","issue":{"url":"https://api.github.com/repos/AquariusComputerSolutions/AquariusOS/issues/1","labels_url":"https://api.github.com/repos/AquariusComputerSolutions/AquariusOS/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/AquariusComputerSolutions/AquariusOS/issues/1/comments","events_url":"https://api.github.com/repos/AquariusComputerSolutions/AquariusOS/issues/1/events","html_url":"https://github.com/AquariusComputerSolutions/AquariusOS/issues/1","id":121934845,"number":1,"title":"Keyboard branch doesn't compile","user":{"login":"crank123","id":8679113,"avatar_url":"https://avatars.githubusercontent.com/u/8679113?v=3","gravatar_id":"","url":"https://api.github.com/users/crank123","html_url":"https://github.com/crank123","followers_url":"https://api.github.com/users/crank123/followers","following_url":"https://api.github.com/users/crank123/following{/other_user}","gists_url":"https://api.github.com/users/crank123/gists{/gist_id}","starred_url":"https://api.github.com/users/crank123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crank123/subscriptions","organizations_url":"https://api.github.com/users/crank123/orgs","repos_url":"https://api.github.com/users/crank123/repos","events_url":"https://api.github.com/users/crank123/events{/privacy}","received_events_url":"https://api.github.com/users/crank123/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AquariusComputerSolutions/AquariusOS/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/AquariusComputerSolutions/AquariusOS/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":{"login":"crank123","id":8679113,"avatar_url":"https://avatars.githubusercontent.com/u/8679113?v=3","gravatar_id":"","url":"https://api.github.com/users/crank123","html_url":"https://github.com/crank123","followers_url":"https://api.github.com/users/crank123/followers","following_url":"https://api.github.com/users/crank123/following{/other_user}","gists_url":"https://api.github.com/users/crank123/gists{/gist_id}","starred_url":"https://api.github.com/users/crank123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crank123/subscriptions","organizations_url":"https://api.github.com/users/crank123/orgs","repos_url":"https://api.github.com/users/crank123/repos","events_url":"https://api.github.com/users/crank123/events{/privacy}","received_events_url":"https://api.github.com/users/crank123/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-12-13T18:16:32Z","updated_at":"2015-12-14T02:24:13Z","closed_at":"2015-12-14T02:24:13Z","body":"When compiling, it returns\r\n\r\ngdt.c: In function 'gdt_install':\r\ngdt.c:50:13: warning: assignment makes integer from pointer without a cast [-Wint-conversion]\r\n     gp.base = &gdt;\r\n             ^\r\nidt.c: In function 'idt_install':\r\nidt.c:49:15: warning: assignment makes integer from pointer without a cast [-Wint-conversion]\r\n     idtp.base = &idt;\r\n               ^\r\nisrs.c:59:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Division By Zero\",\r\n     ^\r\nisrs.c:59:5: note: (near initialization for 'exception_messages[0]')\r\nisrs.c:60:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Debug\",\r\n     ^\r\nisrs.c:60:5: note: (near initialization for 'exception_messages[1]')\r\nisrs.c:61:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Non Maskable Interrupt\",\r\n     ^\r\nisrs.c:61:5: note: (near initialization for 'exception_messages[2]')\r\nisrs.c:62:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Breakpoint\",\r\n     ^\r\nisrs.c:62:5: note: (near initialization for 'exception_messages[3]')\r\nisrs.c:63:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Into Detected Overflow\",\r\n     ^\r\nisrs.c:63:5: note: (near initialization for 'exception_messages[4]')\r\nisrs.c:64:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Out of Bounds\",\r\n     ^\r\nisrs.c:64:5: note: (near initialization for 'exception_messages[5]')\r\nisrs.c:65:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Invalid Opcode\",\r\n     ^\r\nisrs.c:65:5: note: (near initialization for 'exception_messages[6]')\r\nisrs.c:66:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"No Coprocessor\",\r\n     ^\r\nisrs.c:66:5: note: (near initialization for 'exception_messages[7]')\r\nisrs.c:68:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Double Fault\",\r\n     ^\r\nisrs.c:68:5: note: (near initialization for 'exception_messages[8]')\r\nisrs.c:69:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Coprocessor Segment Overrun\",\r\n     ^\r\nisrs.c:69:5: note: (near initialization for 'exception_messages[9]')\r\nisrs.c:70:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Bad TSS\",\r\n     ^\r\nisrs.c:70:5: note: (near initialization for 'exception_messages[10]')\r\nisrs.c:71:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Segment Not Present\",\r\n     ^\r\nisrs.c:71:5: note: (near initialization for 'exception_messages[11]')\r\nisrs.c:72:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Stack Fault\",\r\n     ^\r\nisrs.c:72:5: note: (near initialization for 'exception_messages[12]')\r\nisrs.c:73:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"General Protection Fault\",\r\n     ^\r\nisrs.c:73:5: note: (near initialization for 'exception_messages[13]')\r\nisrs.c:74:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Page Fault\",\r\n     ^\r\nisrs.c:74:5: note: (near initialization for 'exception_messages[14]')\r\nisrs.c:75:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Unknown Interrupt\",\r\n     ^\r\nisrs.c:75:5: note: (near initialization for 'exception_messages[15]')\r\nisrs.c:77:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Coprocessor Fault\",\r\n     ^\r\nisrs.c:77:5: note: (near initialization for 'exception_messages[16]')\r\nisrs.c:78:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Alignment Check\",\r\n     ^\r\nisrs.c:78:5: note: (near initialization for 'exception_messages[17]')\r\nisrs.c:79:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Machine Check\",\r\n     ^\r\nisrs.c:79:5: note: (near initialization for 'exception_messages[18]')\r\nisrs.c:80:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Reserved\",\r\n     ^\r\nisrs.c:80:5: note: (near initialization for 'exception_messages[19]')\r\nisrs.c:81:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Reserved\",\r\n     ^\r\nisrs.c:81:5: note: (near initialization for 'exception_messages[20]')\r\nisrs.c:82:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Reserved\",\r\n     ^\r\nisrs.c:82:5: note: (near initialization for 'exception_messages[21]')\r\nisrs.c:83:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Reserved\",\r\n     ^\r\nisrs.c:83:5: note: (near initialization for 'exception_messages[22]')\r\nisrs.c:84:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Reserved\",\r\n     ^\r\nisrs.c:84:5: note: (near initialization for 'exception_messages[23]')\r\nisrs.c:86:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Reserved\",\r\n     ^\r\nisrs.c:86:5: note: (near initialization for 'exception_messages[24]')\r\nisrs.c:87:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Reserved\",\r\n     ^\r\nisrs.c:87:5: note: (near initialization for 'exception_messages[25]')\r\nisrs.c:88:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Reserved\",\r\n     ^\r\nisrs.c:88:5: note: (near initialization for 'exception_messages[26]')\r\nisrs.c:89:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Reserved\",\r\n     ^\r\nisrs.c:89:5: note: (near initialization for 'exception_messages[27]')\r\nisrs.c:90:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Reserved\",\r\n     ^\r\nisrs.c:90:5: note: (near initialization for 'exception_messages[28]')\r\nisrs.c:91:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Reserved\",\r\n     ^\r\nisrs.c:91:5: note: (near initialization for 'exception_messages[29]')\r\nisrs.c:92:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]\r\n     \"Reserved\",\r\n     ^\r\nisrs.c:92:5: note: (near initialization for 'exception_messages[30]')\r\nisrs.c:93:5: warning: excess elements in array initializer\r\n     \"Reserved\"\r\n     ^\r\nisrs.c:93:5: note: (near initialization for 'exception_messages')\r\nisrs.c:102:27: warning: 'struct regs' declared inside parameter list\r\n void fault_handler(struct regs *r)\r\n                           ^\r\nisrs.c:102:27: warning: its scope is only this definition or declaration, which is probably not what you want\r\nisrs.c: In function 'fault_handler':\r\nisrs.c:104:10: error: dereferencing pointer to incomplete type 'struct regs'\r\n     if (r->int_no < 32)\r\n          ^\r\nirq.c:14:58: warning: 'struct regs' declared inside parameter list\r\n void irq_install_handler(int irq, void (*handler)(struct regs *r))\r\n                                                          ^\r\nirq.c:14:58: warning: its scope is only this definition or declaration, which is probably not what you want\r\nirq.c:83:25: warning: 'struct regs' declared inside parameter list\r\n void irq_handler(struct regs *r)\r\n                         ^\r\nirq.c: In function 'irq_handler':\r\nirq.c:90:29: error: dereferencing pointer to incomplete type 'struct regs'\r\n     handler = irq_routines[r->int_no - 32];\r\n                             ^\r\nkdb.c: In function 'keyboard_handler':\r\nkdb.c:105:36: warning: unused parameter 'r' [-Wunused-parameter]\r\n void keyboard_handler(struct regs *r)\r\n                      "},"comment":{"url":"https://api.github.com/repos/AquariusComputerSolutions/AquariusOS/issues/comments/164325036","html_url":"https://github.com/AquariusComputerSolutions/AquariusOS/issues/1#issuecomment-164325036","issue_url":"https://api.github.com/repos/AquariusComputerSolutions/AquariusOS/issues/1","id":164325036,"user":{"login":"crank123","id":8679113,"avatar_url":"https://avatars.githubusercontent.com/u/8679113?v=3","gravatar_id":"","url":"https://api.github.com/users/crank123","html_url":"https://github.com/crank123","followers_url":"https://api.github.com/users/crank123/followers","following_url":"https://api.github.com/users/crank123/following{/other_user}","gists_url":"https://api.github.com/users/crank123/gists{/gist_id}","starred_url":"https://api.github.com/users/crank123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crank123/subscriptions","organizations_url":"https://api.github.com/users/crank123/orgs","repos_url":"https://api.github.com/users/crank123/repos","events_url":"https://api.github.com/users/crank123/events{/privacy}","received_events_url":"https://api.github.com/users/crank123/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T02:24:13Z","updated_at":"2015-12-14T02:24:13Z","body":"Fixed in commit a69d0e3. However, the keyboard doesn't work yet, and the compiler returns 3 warnings."}}