{"action":"created","issue":{"url":"https://api.github.com/repos/vgmrips/vgmplay/issues/14","labels_url":"https://api.github.com/repos/vgmrips/vgmplay/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/vgmrips/vgmplay/issues/14/comments","events_url":"https://api.github.com/repos/vgmrips/vgmplay/issues/14/events","html_url":"https://github.com/vgmrips/vgmplay/issues/14","id":106174755,"number":14,"title":"Too many initializers; undefined references to _inp and _outp","user":{"login":"robinhood2014","id":6971466,"avatar_url":"https://avatars.githubusercontent.com/u/6971466?v=3","gravatar_id":"","url":"https://api.github.com/users/robinhood2014","html_url":"https://github.com/robinhood2014","followers_url":"https://api.github.com/users/robinhood2014/followers","following_url":"https://api.github.com/users/robinhood2014/following{/other_user}","gists_url":"https://api.github.com/users/robinhood2014/gists{/gist_id}","starred_url":"https://api.github.com/users/robinhood2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinhood2014/subscriptions","organizations_url":"https://api.github.com/users/robinhood2014/orgs","repos_url":"https://api.github.com/users/robinhood2014/repos","events_url":"https://api.github.com/users/robinhood2014/events{/privacy}","received_events_url":"https://api.github.com/users/robinhood2014/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-12T18:00:15Z","updated_at":"2015-09-14T06:37:53Z","closed_at":null,"body":"I can't build VGMPlay with Visual Studio. The compiler returns the following error among a number of warnings:\r\n\r\n1>VGMPlay.c(1813): error C2078: too many initializers\r\n\r\nExamining the source code, I discovered this piece of code to be offensive to VS:\r\n\r\nconst char* CHIP_STRS[CHIP_COUNT] = \r\n\t{\t\"SN76496\", \"YM2413\", \"YM2612\", \"YM2151\", \"SegaPCM\", \"RF5C68\", \"YM2203\", \"YM2608\",\r\n\t\t\"YM2610\", \"YM3812\", \"YM3526\", \"Y8950\", \"YMF262\", \"YMF278B\", \"YMF271\", \"YMZ280B\",\r\n\t\t\"RF5C164\", \"PWM\", \"AY8910\", \"GameBoy\", \"NES APU\", \"MultiPCM\", \"uPD7759\", \"OKIM6258\",\r\n\t\t\"OKIM6295\", \"K051649\", \"K054539\", \"HuC6280\", \"C140\", \"K053260\", \"Pokey\", \"QSound\",\r\n\t\t\"SCSP\", \"C64\"};\r\n\r\nSimilarly, attempting to compile under MinGW/MSYS returns all of this mess:\r\n\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x3b): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x736): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x797): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x9c9): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0xa06): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0xbd6): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0xbe9): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0xc06): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0xc26): more undefined references to `_inp' follow\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0xe3c): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0xee5): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0xf3d): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0xf99): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x10d3): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x111d): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x11b1): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x11fb): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x127e): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x1291): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x1374): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x13cc): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x1475): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x14bf): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x158b): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x1769): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x1811): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x186b): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x1945): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x1a02): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x1ad3): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x1b22): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x1c63): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x1d23): more undefined references to `_inp' follow\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x1e71): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x1e7f): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x1e94): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x1ea2): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x1eb0): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x1ebe): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x1ecc): more undefined references to `_inp' follow\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x35b9): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x35f1): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x3672): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x36aa): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x371c): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x3759): more undefined references to `_outp' follow\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x3b12): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x3b92): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x3c12): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x3ca2): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x3d25): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x422f): more undefined references to `_inp' follow\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x4fc8): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x5076): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x50d7): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x5188): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x51e9): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x5297): more undefined references to `_outp' follow\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x59c2): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x59ea): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x5a12): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x5b06): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x5c02): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x5c85): more undefined references to `_inp' follow\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x7964): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x7ba5): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x7bf7): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x7c01): undefined reference to `_outp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x7c77): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x7cc6): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x7dce): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x7ddd): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x7dec): undefined reference to `_inp'\r\nobj/ChipMapper.o:ChipMapper.c:(.text+0x7dfb): more undefined references to `_inp' follow\r\ncollect2.exe: error: ld returned 1 exit status\r\nmake: *** [vgmplay] Error 1"},"comment":{"url":"https://api.github.com/repos/vgmrips/vgmplay/issues/comments/139975618","html_url":"https://github.com/vgmrips/vgmplay/issues/14#issuecomment-139975618","issue_url":"https://api.github.com/repos/vgmrips/vgmplay/issues/14","id":139975618,"user":{"login":"robinhood2014","id":6971466,"avatar_url":"https://avatars.githubusercontent.com/u/6971466?v=3","gravatar_id":"","url":"https://api.github.com/users/robinhood2014","html_url":"https://github.com/robinhood2014","followers_url":"https://api.github.com/users/robinhood2014/followers","following_url":"https://api.github.com/users/robinhood2014/following{/other_user}","gists_url":"https://api.github.com/users/robinhood2014/gists{/gist_id}","starred_url":"https://api.github.com/users/robinhood2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinhood2014/subscriptions","organizations_url":"https://api.github.com/users/robinhood2014/orgs","repos_url":"https://api.github.com/users/robinhood2014/repos","events_url":"https://api.github.com/users/robinhood2014/events{/privacy}","received_events_url":"https://api.github.com/users/robinhood2014/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T06:37:53Z","updated_at":"2015-09-14T06:37:53Z","body":"Also, trying to build VGMPlay in Visual Studio returns these errors: https://onedrive.live.com/redir?resid=17ED8E769CFF553F!213760&authkey=!AM5uCRYBdMyBRWg&ithint=file%2ctxt\r\nAnd I get these errors when trying to build VGMPlay in MinGW: https://onedrive.live.com/redir?resid=17ED8E769CFF553F!213759&authkey=!AE77-QiBVxjuVfo&ithint=file%2ctxt"}}