Weirdy Posted May 29, 2004 Share Posted May 29, 2004 ok, I put in the new code and stuff, and this is the error I get now src/burn/neogeo/neo_run.cpp:477: parse error before `if' src/burn/neogeo/neo_run.cpp:485: warning: ISO C++ forbids declaration of ` BurnLoadRom' with no type src/burn/neogeo/neo_run.cpp:485: `int BurnLoadRom' redeclared as different kind of symbol src/burn/burnint.h:145: previous declaration of `int BurnLoadRom(unsigned char*, int, int)' src/burn/neogeo/neo_run.cpp:485: warning: initializer list being treated as compound expression src/burn/neogeo/neo_run.cpp:486: warning: ISO C++ forbids declaration of ` BurnLoadRom' with no type src/burn/neogeo/neo_run.cpp:486: redefinition of `int BurnLoadRom' src/burn/neogeo/neo_run.cpp:485: `int BurnLoadRom' previously defined here src/burn/neogeo/neo_run.cpp:486: warning: initializer list being treated as compound expression src/burn/neogeo/neo_run.cpp:488: parse error before `if' src/burn/neogeo/neo_run.cpp:493: warning: ISO C++ forbids declaration of ` YM2610ADPCMAROM' with no type src/burn/neogeo/neo_run.cpp:493: conflicting types for `int YM2610ADPCMAROM' src/burn/neogeo/neo_run.cpp:147: previous declaration as `unsigned char*YM2610ADPCMAROM' src/burn/neogeo/neo_run.cpp:493: warning: invalid conversion from `unsigned char*' to `int' src/burn/neogeo/neo_run.cpp:494: parse error before `if' src/burn/neogeo/neo_run.cpp:498: syntax error before `.' token src/burn/neogeo/neo_run.cpp:499: syntax error before `.' token src/burn/neogeo/neo_run.cpp:500: `pInfo' was not declared in this scope src/burn/neogeo/neo_run.cpp:500: warning: ISO C++ forbids declaration of ` BurnDrvGetRomInfo' with no type src/burn/neogeo/neo_run.cpp:500: `int BurnDrvGetRomInfo' redeclared as different kind of symbol src/burn/burn.h:102: previous declaration of `int BurnDrvGetRomInfo(BurnRomInfo*, unsigned int)' src/burn/neogeo/neo_run.cpp:500: warning: initializer list being treated as compound expression src/burn/neogeo/neo_run.cpp:501: `pName' was not declared in this scope src/burn/neogeo/neo_run.cpp:501: `pInfo' was not declared in this scope src/burn/neogeo/neo_run.cpp:501: warning: ISO C++ forbids declaration of ` BurnDrvGetRomName' with no type src/burn/neogeo/neo_run.cpp:501: `int BurnDrvGetRomName' redeclared as different kind of symbol src/burn/burn.h:103: previous declaration of `int BurnDrvGetRomName(char**, unsigned int, int)' src/burn/neogeo/neo_run.cpp:501: warning: initializer list being treated as compound expression src/burn/neogeo/neo_run.cpp:503: warning: ISO C++ forbids declaration of ` pADPCMData' with no type src/burn/neogeo/neo_run.cpp:503: conflicting types for `int pADPCMData' src/burn/neogeo/neo_run.cpp:491: previous declaration as `unsigned char*pADPCMData' src/burn/neogeo/neo_run.cpp:506: parse error before `if' src/burn/neogeo/neo_run.cpp:510: `pInfo' was not declared in this scope src/burn/neogeo/neo_run.cpp:510: `pInfo' was not declared in this scope src/burn/neogeo/neo_run.cpp:510: warning: ISO C++ forbids declaration of ` NeoLoadADPCM' with no type src/burn/neogeo/neo_run.cpp:510: `int NeoLoadADPCM' redeclared as different kind of symbol src/burn/neogeo/neogeo.h:25: previous declaration of `int NeoLoadADPCM(int, int, unsigned char*)' src/burn/neogeo/neo_run.cpp:510: warning: initializer list being treated as compound expression src/burn/neogeo/neo_run.cpp:512: parse error before `if' src/burn/neogeo/neo_run.cpp:513: parse error before `;' token src/burn/neogeo/neo_run.cpp:513: syntax error before `++' token src/burn/neogeo/neo_run.cpp:515: `i' was not declared in this scope src/burn/neogeo/neo_run.cpp:515: warning: ISO C++ forbids declaration of ` YM2610ADPCMAROM' with no type src/burn/neogeo/neo_run.cpp:515: `i' was not declared in this scope src/burn/neogeo/neo_run.cpp:515: assignment (not initialization) in declaration src/burn/neogeo/neo_run.cpp:516: `i' was not declared in this scope src/burn/neogeo/neo_run.cpp:516: warning: ISO C++ forbids declaration of ` YM2610ADPCMAROM' with no type src/burn/neogeo/neo_run.cpp:516: `n' was not declared in this scope src/burn/neogeo/neo_run.cpp:516: assignment (not initialization) in declaration src/burn/neogeo/neo_run.cpp:517: parse error before `}' token src/burn/neogeo/neo_run.cpp:526: parse error before `if' src/burn/neogeo/neo_run.cpp:529: parse error before `;' token src/burn/neogeo/neo_run.cpp:529: syntax error before `+=' token src/burn/neogeo/neo_run.cpp:532: `f' was not declared in this scope src/burn/neogeo/neo_run.cpp:533: `buffer' was not declared in this scope src/burn/neogeo/neo_run.cpp:533: `rom' was not declared in this scope src/burn/neogeo/neo_run.cpp:533: `i' was not declared in this scope src/burn/neogeo/neo_run.cpp:533: warning: ISO C++ forbids declaration of ` __builtin_memcpy' with no type src/burn/neogeo/neo_run.cpp:533: declaration of `int __builtin_memcpy' src/burn/neogeo/neo_run.cpp:533: conflicts with built-in declaration `void* __builtin_memcpy(void*, const <anonymous>*, unsigned int)' src/burn/neogeo/neo_run.cpp:533: warning: initializer list being treated as compound expression src/burn/neogeo/neo_run.cpp:534: parse error before `for' src/burn/neogeo/neo_run.cpp:534: parse error before `;' token src/burn/neogeo/neo_run.cpp:534: syntax error before `++' token src/burn/neogeo/neo_run.cpp:537: `i' was not declared in this scope src/burn/neogeo/neo_run.cpp:537: `j' was not declared in this scope src/burn/neogeo/neo_run.cpp:537: warning: ISO C++ forbids declaration of `rom' with no type src/burn/neogeo/neo_run.cpp:537: `buffer' was not declared in this scope src/burn/neogeo/neo_run.cpp:537: `j' was not declared in this scope src/burn/neogeo/neo_run.cpp:537: `h' was not declared in this scope src/burn/neogeo/neo_run.cpp:537: assignment (not initialization) in declaration src/burn/neogeo/neo_run.cpp:538: parse error before `}' token src/burn/neogeo/neo_run.cpp:549: `pInfo' was not declared in this scope src/burn/neogeo/neo_run.cpp:549: `pInfo' was not declared in this scope src/burn/neogeo/neo_run.cpp:549: `pInfo' was not declared in this scope src/burn/neogeo/neo_run.cpp:549: warning: ISO C++ forbids declaration of ` NeoLoadADPCM' with no type src/burn/neogeo/neo_run.cpp:549: redefinition of `int NeoLoadADPCM' src/burn/neogeo/neo_run.cpp:510: `int NeoLoadADPCM' previously defined here src/burn/neogeo/neo_run.cpp:549: warning: initializer list being treated as compound expression src/burn/neogeo/neo_run.cpp:550: parse error before `}' token src/burn/neogeo/neo_run.cpp:552: warning: ISO C++ forbids declaration of ` nYM2610ADPCMBSize' with no type src/burn/neogeo/neo_run.cpp:552: redefinition of `int nYM2610ADPCMBSize' src/burn/neogeo/neo_run.cpp:151: `int nYM2610ADPCMBSize' previously defined here src/burn/neogeo/neo_run.cpp:553: parse error before `}' token src/burn/neogeo/neo_run.cpp: In function `int NeoInit()': src/burn/neogeo/neo_run.cpp:1702: warning: declaration of `ri' shadows a global declaration src/burn/neogeo/neo_run.cpp:490: warning: shadowed declaration is here src/burn/neogeo/neo_run.cpp:1748: `BurnDrvGetRomInfo' cannot be used as a function src/burn/neogeo/neo_run.cpp:1757: `BurnDrvGetRomInfo' cannot be used as a function src/burn/neogeo/neo_run.cpp:1767: `BurnDrvGetRomInfo' cannot be used as a function src/burn/neogeo/neo_run.cpp:1775: `BurnDrvGetRomInfo' cannot be used as a function src/burn/neogeo/neo_run.cpp:1785: `BurnDrvGetRomInfo' cannot be used as a function src/burn/neogeo/neo_run.cpp:1800: `BurnDrvGetRomInfo' cannot be used as a function src/burn/neogeo/neo_run.cpp:1801: `BurnDrvGetRomName' cannot be used as a function src/burn/neogeo/neo_run.cpp:1805: `BurnDrvGetRomInfo' cannot be used as a function src/burn/neogeo/neo_run.cpp:1806: `BurnDrvGetRomName' cannot be used as a function src/burn/neogeo/neo_run.cpp:1816: `BurnDrvGetRomInfo' cannot be used as a function src/burn/neogeo/neo_run.cpp:1818: `BurnDrvGetRomInfo' cannot be used as a function src/burn/neogeo/neo_run.cpp:1982: warning: invalid conversion from `int' to ` unsigned char*' src/burn/neogeo/neo_run.cpp: In function `int NeoExit()': src/burn/neogeo/neo_run.cpp:2025: warning: invalid conversion from `int' to ` void*' src/burn/neogeo/neo_run.cpp:2027: ISO C++ forbids comparison between pointer and integer src/burn/neogeo/neo_run.cpp:2030: warning: assignment to non-pointer type `int' from NULL src/burn/neogeo/neo_run.cpp:2030: warning: argument to non-pointer type `int' from NULL src/burn/neogeo/neo_run.cpp: At top level: src/burn/neogeo/neo_run.cpp:151: warning: `int nYM2610ADPCMBSize' defined but not used {standard input}: Assembler messages: {standard input}:209: Error: symbol `_BurnLoadRom' is already defined {standard input}:241: Error: symbol `_NeoLoadADPCM' is already defined {standard input}:245: Error: symbol `_nYM2610ADPCMBSize' is already defined make: *** [neo_run.o] Error 1 Link to comment Share on other sites More sharing options...
iq_132 Posted May 29, 2004 Author Share Posted May 29, 2004 Honestly, I have no idea... Here's the neogeo files I'm using. (Nothing extra added except the code for NEOPCM2 and the drivers at the bottom of d_neogeo.cpp)http://www.freepgs.com/iq_132/temp/weirdy/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now