{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":28298005,"defaultBranch":"master","name":"libgba","ownerLogin":"devkitPro","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2014-12-21T11:51:05.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/7538897?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1705274542.0","currentOid":""},"activityList":{"items":[{"before":"755c7e4b6bde0c48db2281ca74ae41d8880ca757","after":"b8fa7f9c5c47289ec2e1e199d970042315bc1900","ref":"refs/heads/master","pushedAt":"2024-01-14T23:22:01.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"WinterMute","name":"Dave Murphy","path":"/WinterMute","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/101194?s=80&v=4"},"commit":{"message":"0.5.4","shortMessageHtmlLink":"0.5.4"}},{"before":"7fa00ebe70c5634cb0ed9f56d88ed4935763733d","after":"755c7e4b6bde0c48db2281ca74ae41d8880ca757","ref":"refs/heads/master","pushedAt":"2024-01-14T23:13:10.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"WinterMute","name":"Dave Murphy","path":"/WinterMute","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/101194?s=80&v=4"},"commit":{"message":"Macros to compile functions as arm/thumb (#11)\n\nthis change allows to force the compiler to put the code of a function in thumb or arm mode.","shortMessageHtmlLink":"Macros to compile functions as arm/thumb (#11)"}},{"before":"98c8122488f8e77d0132b0288a92b0daa9eaa927","after":"7fa00ebe70c5634cb0ed9f56d88ed4935763733d","ref":"refs/heads/master","pushedAt":"2024-01-14T22:14:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"WinterMute","name":"Dave Murphy","path":"/WinterMute","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/101194?s=80&v=4"},"commit":{"message":"0.5.3","shortMessageHtmlLink":"0.5.3"}},{"before":"db9b8e6dd3b257b3cf3841d71c332f3a262e6cd5","after":"98c8122488f8e77d0132b0288a92b0daa9eaa927","ref":"refs/heads/master","pushedAt":"2024-01-14T22:11:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"WinterMute","name":"Dave Murphy","path":"/WinterMute","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/101194?s=80&v=4"},"commit":{"message":"gba_base.h: Fix \"section conflict\" GCC error\n\nWhen mixing `IWRAM_CODE` and `IWRAM_DATA` in the same file, GCC generates a \"section attribute conflict\" error:\r\n\r\n```c\r\n#include \r\n#include \r\n#include \r\n#include \r\n#include \r\n#include \r\n#include \r\n\r\nvoid IWRAM_CODE hello(void)\r\n{\r\n iprintf(\"Hello, world!\\n\");\r\n}\r\n\r\nint IWRAM_DATA x = 1;\r\n\r\nint main(void) {\r\n irqInit();\r\n irqEnable(IRQ_VBLANK);\r\n\r\n consoleDemoInit();\r\n\r\n hello();\r\n iprintf(\"%i\\n\", x);\r\n\r\n while (1) {\r\n VBlankIntrWait();\r\n }\r\n}\r\n```\r\n\r\n```\r\n/home/luna/dev/homebrew/gba/iwram-test/src/main.c: In function 'main':\r\n/home/luna/dev/homebrew/gba/iwram-test/src/main.c:14:16: error: 'x' causes a section type conflict with 'hello'\r\n 14 | int IWRAM_DATA x = 1;\r\n | ^\r\n/home/luna/dev/homebrew/gba/iwram-test/src/main.c:9:17: note: 'hello' was declared here\r\n 9 | void IWRAM_CODE hello(void)\r\n | ^~~~~\r\n\r\n```\r\n\r\nThis is quickly fixed making `IWRAM_DATA` (and `EWRAM_DATA`) map to a different section, `.iwram_data` (`.ewram_data`) instead.\r\n\r\nThe linker script handles this fine due to wildcard matching.","shortMessageHtmlLink":"gba_base.h: Fix \"section conflict\" GCC error"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wMS0xNFQyMzoyMjowMS4wMDAwMDBazwAAAAPfj3BB","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wMS0xNFQyMjoxMTowNi4wMDAwMDBazwAAAAPfiSl3"}},"title":"Activity ยท devkitPro/libgba"}