Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from /usr/include/stdlib.h:42:0,
- from /home/franklin/rockbox/apps/plugins/xworld/intern.h:23,
- from /home/franklin/rockbox/apps/plugins/xworld/engine.h:22,
- from /home/franklin/rockbox/apps/plugins/xworld/engine.c:19:
- /usr/include/bits/waitstatus.h:79:15: error: duplicate member '__w_retcode'
- unsigned int __w_retcode:8;
- ^
- /usr/include/bits/waitstatus.h:80:15: error: duplicate member '__w_coredump'
- unsigned int __w_coredump:1;
- ^
- /usr/include/bits/waitstatus.h:81:15: error: duplicate member '__w_termsig'
- unsigned int __w_termsig:7;
- ^
- /usr/include/bits/waitstatus.h:93:15: error: duplicate member '__w_stopsig'
- unsigned int __w_stopsig:8; /* Stopping signal. */
- ^
- /usr/include/bits/waitstatus.h:94:15: error: duplicate member '__w_stopval'
- unsigned int __w_stopval:8; /* W_STOPPED if stopped. */
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/engine.h:22:0,
- from /home/franklin/rockbox/apps/plugins/xworld/engine.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:38:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
- templete<typename T>
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h: In function 'scriptPtr_fetchWord':
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: error: 'b' undeclared (first use in this function)
- uint16_t i = READ_BE_UINT16(b->pc);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: note: each undeclared identifier is reported only once for each function it appears in
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:53:49: warning: unused parameter 'p' [-Wunused-parameter]
- inline uint16_t scriptPtr_fetchWord(struct Ptr* p) {
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/engine.h:23:0,
- from /home/franklin/rockbox/apps/plugins/xworld/engine.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/vm.h: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/vm.h:70:5: error: expected specifier-qualifier-list before 'typedef'
- typedef void (VirtualMachine::*OpcodeStub)();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/vm.h:114:29: error: expected ')' before '*' token
- struct VirtualMachine(Mixer *mix, Resource *res, SfxPlayer *ply, Video *vid, System *stub);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/vm.h:157:44: error: unknown type name 'Serializer'
- void vm_saveOrLoad(struct VirtualMachine*, Serializer &ser);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/engine.h:24:0,
- from /home/franklin/rockbox/apps/plugins/xworld/engine.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/mixer.h:34:2: error: unknown type name 'MixerChunk'
- MixerChunk chunk;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.h:48:2: error: unknown type name 'System'
- System *sys;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.h:53:2: error: unknown type name 'MixerChannel'
- MixerChannel _channels[AUDIO_NUM_CHANNELS];
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.h:55:2: error: expected specifier-qualifier-list before 'Mixer'
- Mixer(System *stub);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/engine.h:25:0,
- from /home/franklin/rockbox/apps/plugins/xworld/engine.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.h:35:2: error: unknown type name 'SfxInstrument'
- SfxInstrument samples[15];
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.h:56:2: error: unknown type name 'Mixer'
- Mixer *mixer;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.h:57:2: error: unknown type name 'Resource'
- Resource *res;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.h:58:2: error: unknown type name 'System'
- System *sys;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.h:64:2: error: unknown type name 'SfxModule'
- SfxModule _sfxMod;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.h:67:2: error: expected specifier-qualifier-list before 'SfxPlayer'
- SfxPlayer(Mixer *mix, Resource *res, System *stub);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/engine.h:26:0,
- from /home/franklin/rockbox/apps/plugins/xworld/engine.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:74:5: error: unknown type name 'Video'
- Video *video;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:80:5: error: unknown type name 'bool'
- bool _useSegVideo2;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:90:10: error: unknown type name 'Video'
- Resource(Video *vid, const char *dataDir);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:93:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void readEntries();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:94:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void loadMarkedAsNeeded();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:95:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void invalidateAll();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:96:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void invalidateRes();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:99:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void allocMemBlock();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:100:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void freeMemBlock();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:102:28: error: expected ')' before '&' token
- void saveOrLoad(Serializer &ser);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:104:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- const char* getDataDir();
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/engine.h:27:0,
- from /home/franklin/rockbox/apps/plugins/xworld/engine.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/video.h:51:5: error: expected specifier-qualifier-list before 'typedef'
- typedef void (Video::*drawLine)(int16_t x1, int16_t x2, uint8_t col);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:92:84: warning: type defaults to 'int' in declaration of 'Point'
- void video_readAndDrawPolygon(struct Video* v, uint8_t color, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:92:90: error: expected ';', ',' or ')' before '&' token
- void video_readAndDrawPolygon(struct Video* v, uint8_t color, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:93:78: warning: type defaults to 'int' in declaration of 'Point'
- void video_fillPolygon(struct Video* v, uint16_t color, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:93:84: error: expected ';', ',' or ')' before '&' token
- void video_fillPolygon(struct Video* v, uint16_t color, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:94:78: warning: type defaults to 'int' in declaration of 'Point'
- void video_readAndDrawPolygonHierarchy(struct Video* v, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:94:84: error: expected ';', ',' or ')' before '&' token
- void video_readAndDrawPolygonHierarchy(struct Video* v, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:95:47: warning: type defaults to 'int' in declaration of 'Point'
- int32_t video_calcStep(struct Video* v, const Point &p1, const Point &p2, uint16_t &dy);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:95:53: error: expected ';', ',' or ')' before '&' token
- int32_t video_calcStep(struct Video* v, const Point &p1, const Point &p2, uint16_t &dy);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:112:40: error: unknown type name 'Serializer'
- void video_saveOrLoad(struct Video* v, Serializer &ser);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/engine.c:19:0:
- /home/franklin/rockbox/apps/plugins/xworld/engine.h:34:5: error: unknown type name 'System'
- System *sys;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.h:35:5: error: unknown type name 'VirtualMachine'
- VirtualMachine vm;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.h:37:5: error: unknown type name 'Resource'
- Resource res;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.h:39:5: error: unknown type name 'Video'
- Video video;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.h:45:8: error: unknown type name 'System'
- Engine(System *stub, const char *dataDir, const char *saveDir);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/engine.c:20:0:
- /home/franklin/rockbox/apps/plugins/xworld/file.h:29:2: error: expected specifier-qualifier-list before 'File'
- File(bool gzipped = false);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/engine.c:21:0:
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:36:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:43:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:50:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:55:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:58:3: error: unknown type name 'EntryType'
- EntryType type;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:64:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:66:2: error: unknown type name 'File'
- File *_stream;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:67:2: error: unknown type name 'Mode'
- Mode _mode;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:72:2: error: expected specifier-qualifier-list before 'Serializer'
- Serializer(File *stream, Mode mode, uint8_t *ptrBlock, uint16_t saveVer = CUR_VER);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/engine.c:22:0:
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:34:6: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:37:5: error: unknown type name 'bool'
- bool button;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:38:5: error: unknown type name 'bool'
- bool code;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:39:5: error: unknown type name 'bool'
- bool pause;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:40:5: error: unknown type name 'bool'
- bool quit;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:42:5: error: unknown type name 'bool'
- bool save, load;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:43:5: error: unknown type name 'bool'
- bool fastMode;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:51:5: error: expected specifier-qualifier-list before 'typedef'
- typedef void (*AudioCallback)(void *param, uint8_t *stream, int len);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:68:37: error: unknown type name 'AudioCallback'
- void sys_startAudio(struct System*, AudioCallback callback, void *param);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:72:52: error: unknown type name 'TimerCallback'
- void *sys_addTimer(struct System*, uint32_t delay, TimerCallback callback, void *param);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:83:5: error: unknown type name 'System'
- System *sys;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:86:1: error: expected specifier-qualifier-list before 'MutexStack'
- MutexStack(System *stub, void *mutex)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:25:15: error: unknown type name 'System'
- engine_Engine(System *paramSys, const char *dataDir, const char *saveDir)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c: In function 'engine_run':
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:32:19: error: request for member 'input' in something not a structure or union
- while (!e->sys->input.quit) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:34:32: warning: passing argument 1 of 'vm_checkThreadRequests' from incompatible pointer type
- vm_checkThreadRequests(&e->vm);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/engine.h:23:0,
- from /home/franklin/rockbox/apps/plugins/xworld/engine.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/vm.h:147:6: note: expected 'struct VirtualMachine *' but argument is of type 'int *'
- void vm_checkThreadRequests(struct VirtualMachine*);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:36:29: warning: passing argument 1 of 'vm_inp_updatePlayer' from incompatible pointer type
- vm_inp_updatePlayer(&e->vm);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/engine.h:23:0,
- from /home/franklin/rockbox/apps/plugins/xworld/engine.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/vm.h:151:6: note: expected 'struct VirtualMachine *' but argument is of type 'int *'
- void vm_inp_updatePlayer(struct VirtualMachine*);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:40:22: warning: passing argument 1 of 'vm_hostFrame' from incompatible pointer type
- vm_hostFrame(&e->vm);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/engine.h:23:0,
- from /home/franklin/rockbox/apps/plugins/xworld/engine.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/vm.h:148:6: note: expected 'struct VirtualMachine *' but argument is of type 'int *'
- void vm_hostFrame(struct VirtualMachine*);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c: In function 'engine_create':
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:45:48: error: parameter name omitted
- void engine_create(struct System* stub, struct Engine*, const char* dataDir, const char* saveDir)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:47:5: error: 'e' undeclared (first use in this function)
- e->sys=stub;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c: In function 'engine_init':
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:51:1: error: number of arguments doesn't match prototype
- void engine_init() {
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/engine.c:19:0:
- /home/franklin/rockbox/apps/plugins/xworld/engine.h:50:6: error: prototype declaration
- void engine_init(struct Engine*);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:55:14: warning: passing argument 1 of 'sys_init' from incompatible pointer type
- sys_init("Out Of This World");
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/engine.c:22:0:
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:58:6: note: expected 'struct System *' but argument is of type 'char *'
- void sys_init(struct System*, const char *title);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:55:5: error: too few arguments to function 'sys_init'
- sys_init("Out Of This World");
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/engine.c:22:0:
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:58:6: note: declared here
- void sys_init(struct System*, const char *title);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:57:17: error: 'e' undeclared (first use in this function)
- video_init(&e->video);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:59:5: error: 'res' undeclared (first use in this function)
- res.allocMemBlock();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c: In function 'engine_finish':
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:89:11: error: request for member 'freeMemBlock' in something not a structure or union
- e->res.freeMemBlock();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c: In function 'engine_processInput':
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:93:15: error: request for member 'input' in something not a structure or union
- if (e->sys->input.load) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:95:15: error: request for member 'input' in something not a structure or union
- e->sys->input.load = false;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:95:30: error: 'false' undeclared (first use in this function)
- e->sys->input.load = false;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:97:15: error: request for member 'input' in something not a structure or union
- if (e->sys->input.save) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:99:15: error: request for member 'input' in something not a structure or union
- e->sys->input.save = false;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:101:15: error: request for member 'input' in something not a structure or union
- if (e->sys->input.fastMode) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:102:14: error: request for member '_fastMode' in something not a structure or union
- e->vm._fastMode = !e->vm._fastMode;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:102:33: error: request for member '_fastMode' in something not a structure or union
- e->vm._fastMode = !e->vm._fastMode;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:103:15: error: request for member 'input' in something not a structure or union
- e->sys->input.fastMode = false;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:105:15: error: request for member 'input' in something not a structure or union
- if (e->sys->input.stateSlot != 0) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:106:45: error: request for member 'input' in something not a structure or union
- int8_t slot = e->_stateSlot + e->sys->input.stateSlot;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:109:62: error: '_stateSlot' undeclared (first use in this function)
- debug(DBG_INFO, "Current game state slot is %d", _stateSlot);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:111:15: error: request for member 'input' in something not a structure or union
- e->sys->input.stateSlot = 0;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:115:6: error: conflicting types for 'engine_makeGameStateName'
- void engine_makeGameStateName(struct Engine* e, uint8_t slot, char *buf, int sz) {
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/engine.c:19:0:
- /home/franklin/rockbox/apps/plugins/xworld/engine.h:54:6: note: previous declaration of 'engine_makeGameStateName' was here
- void engine_makeGameStateName(struct Engine*, uint8_t slot, char *buf);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c: In function 'engine_makeGameStateName':
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:117:5: error: 'rb' undeclared (first use in this function)
- rb->snprintf(buf, sz, "raw.s%02d", slot);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c: In function 'engine_saveGameState':
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:123:5: error: unknown type name 'File'
- File f(true);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:123:5: warning: parameter names (without types) in function declaration
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:124:11: error: request for member 'open' in something not a structure or union
- if (!f.open(stateFile, _saveDir, "wb")) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:124:28: error: '_saveDir' undeclared (first use in this function)
- if (!f.open(stateFile, _saveDir, "wb")) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:128:10: error: request for member 'writeUint32BE' in something not a structure or union
- f.writeUint32BE('AWSV');
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:128:25: warning: multi-character character constant [-Wmultichar]
- f.writeUint32BE('AWSV');
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:129:10: error: request for member 'writeUint16BE' in something not a structure or union
- f.writeUint16BE(Serializer::CUR_VER);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:129:25: error: 'Serializer' undeclared (first use in this function)
- f.writeUint16BE(Serializer::CUR_VER);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:129:35: error: expected ')' before ':' token
- f.writeUint16BE(Serializer::CUR_VER);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:130:10: error: request for member 'writeUint16BE' in something not a structure or union
- f.writeUint16BE(0);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:133:10: error: request for member 'write' in something not a structure or union
- f.write(hdrdesc, sizeof(hdrdesc));
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:135:20: error: expected ';' before 's'
- Serializer s(&f, Serializer::SM_SAVE, res._memPtrStart);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:136:9: error: 'vm' undeclared (first use in this function)
- vm.saveOrLoad(s);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:136:23: error: 's' undeclared (first use in this function)
- vm.saveOrLoad(s);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:137:9: error: 'res' undeclared (first use in this function)
- res.saveOrLoad(s);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:138:9: error: 'video' undeclared (first use in this function)
- video.saveOrLoad(s);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:139:9: error: 'player' undeclared (first use in this function)
- player.saveOrLoad(s);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:140:9: error: 'mixer' undeclared (first use in this function)
- mixer.saveOrLoad(s);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:141:14: error: request for member 'ioErr' in something not a structure or union
- if (f.ioErr()) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:144:55: error: '_stateSlot' undeclared (first use in this function)
- debug(DBG_INFO, "Saved state to slot %d", _stateSlot);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c: In function 'engine_loadGameState':
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:151:5: error: too few arguments to function 'engine_makeGameStateName'
- engine_makeGameStateName(e, slot, stateFile);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:115:6: note: declared here
- void engine_makeGameStateName(struct Engine* e, uint8_t slot, char *buf, int sz) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:152:5: error: unknown type name 'File'
- File f(true);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:152:5: warning: parameter names (without types) in function declaration
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:153:11: error: request for member 'open' in something not a structure or union
- if (!f.open(stateFile, e->_saveDir, "rb")) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:156:24: error: request for member 'readUint32BE' in something not a structure or union
- uint32_t id = f.readUint32BE();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:157:19: warning: multi-character character constant [-Wmultichar]
- if (id != 'AWSV') {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:161:13: error: 'player' undeclared (first use in this function)
- player.stop();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:162:13: error: 'mixer' undeclared (first use in this function)
- mixer.stopAll();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:164:29: error: request for member 'readUint16BE' in something not a structure or union
- uint16_t ver = f.readUint16BE();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:165:14: error: request for member 'readUint16BE' in something not a structure or union
- f.readUint16BE();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:167:14: error: request for member 'read' in something not a structure or union
- f.read(hdrdesc, sizeof(hdrdesc));
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:169:13: error: unknown type name 'Serializer'
- Serializer s(&f, Serializer::SM_LOAD, res._memPtrStart, ver);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:169:26: error: expected declaration specifiers or '...' before '&' token
- Serializer s(&f, Serializer::SM_LOAD, res._memPtrStart, ver);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:169:30: error: unknown type name 'Serializer'
- Serializer s(&f, Serializer::SM_LOAD, res._memPtrStart, ver);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:169:51: error: unknown type name 'res'
- Serializer s(&f, Serializer::SM_LOAD, res._memPtrStart, ver);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:169:69: error: expected declaration specifiers or '...' before 'ver'
- Serializer s(&f, Serializer::SM_LOAD, res._memPtrStart, ver);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:170:13: error: 'vm' undeclared (first use in this function)
- vm.saveOrLoad(s);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:170:27: error: 's' undeclared (first use in this function)
- vm.saveOrLoad(s);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:171:13: error: 'res' undeclared (first use in this function)
- res.saveOrLoad(s);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:172:13: error: 'video' undeclared (first use in this function)
- video.saveOrLoad(s);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:164:22: warning: unused variable 'ver' [-Wunused-variable]
- uint16_t ver = f.readUint16BE();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:176:14: error: request for member 'ioErr' in something not a structure or union
- if (f.ioErr()) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.c:179:58: error: '_stateSlot' undeclared (first use in this function)
- debug(DBG_INFO, "Loaded state from slot %d", _stateSlot);
- ^
- make: *** [/home/franklin/rockbox/build_sim/apps/plugins/xworld/engine.o] Error 1
- In file included from /usr/include/stdlib.h:42:0,
- from /home/franklin/rockbox/apps/plugin.h:35,
- from /home/franklin/rockbox/apps/plugins/xworld/bank.c:19:
- /usr/include/bits/waitstatus.h:79:15: error: duplicate member '__w_retcode'
- unsigned int __w_retcode:8;
- ^
- /usr/include/bits/waitstatus.h:80:15: error: duplicate member '__w_coredump'
- unsigned int __w_coredump:1;
- ^
- /usr/include/bits/waitstatus.h:81:15: error: duplicate member '__w_termsig'
- unsigned int __w_termsig:7;
- ^
- /usr/include/bits/waitstatus.h:93:15: error: duplicate member '__w_stopsig'
- unsigned int __w_stopsig:8; /* Stopping signal. */
- ^
- /usr/include/bits/waitstatus.h:94:15: error: duplicate member '__w_stopval'
- unsigned int __w_stopval:8; /* W_STOPPED if stopped. */
- ^
- In file included from /usr/include/stdlib.h:42:0,
- from /home/franklin/rockbox/apps/plugins/xworld/intern.h:23,
- from /home/franklin/rockbox/apps/plugins/xworld/file.h:22,
- from /home/franklin/rockbox/apps/plugins/xworld/file.c:20:
- /usr/include/bits/waitstatus.h:79:15: error: duplicate member '__w_retcode'
- unsigned int __w_retcode:8;
- ^
- /usr/include/bits/waitstatus.h:80:15: error: duplicate member '__w_coredump'
- unsigned int __w_coredump:1;
- ^
- /usr/include/bits/waitstatus.h:81:15: error: duplicate member '__w_termsig'
- unsigned int __w_termsig:7;
- ^
- /usr/include/bits/waitstatus.h:93:15: error: duplicate member '__w_stopsig'
- unsigned int __w_stopsig:8; /* Stopping signal. */
- ^
- /usr/include/bits/waitstatus.h:94:15: error: duplicate member '__w_stopval'
- unsigned int __w_stopval:8; /* W_STOPPED if stopped. */
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/file.h:22:0,
- from /home/franklin/rockbox/apps/plugins/xworld/file.c:20:
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:38:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
- templete<typename T>
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h: In function 'scriptPtr_fetchWord':
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: error: 'b' undeclared (first use in this function)
- uint16_t i = READ_BE_UINT16(b->pc);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: note: each undeclared identifier is reported only once for each function it appears in
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:53:49: warning: unused parameter 'p' [-Wunused-parameter]
- inline uint16_t scriptPtr_fetchWord(struct Ptr* p) {
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/file.c:20:0:
- /home/franklin/rockbox/apps/plugins/xworld/file.h: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/file.h:29:2: error: expected specifier-qualifier-list before 'File'
- File(bool gzipped = false);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/file.c:24:2: error: unknown type name 'bool'
- bool _ioErr;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/file.c:25:2: error: expected specifier-qualifier-list before 'File_impl'
- File_impl() : _ioErr(false) {}
- ^
- /home/franklin/rockbox/apps/plugins/xworld/file.c:33:16: error: expected identifier or '(' before ':' token
- struct stdFile : File_impl {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/file.c:70:17: error: expected identifier or '(' before ':' token
- struct zlibFile : File_impl {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/file.c:107:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- File::File(bool gzipped) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/file.c:115:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- File::~File() {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/file.c:120:1: error: unknown type name 'bool'
- bool File::open(const char *filename, const char *directory, const char *mode) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/file.c:120:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- bool File::open(const char *filename, const char *directory, const char *mode) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/file.c:134:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void File::close() {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/file.c:138:1: error: unknown type name 'bool'
- bool File::ioErr() const {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/file.c:138:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- bool File::ioErr() const {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/file.c:142:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void File::seek(int32_t off) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/file.c:146:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void File::read(void *ptr, uint32_t size) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/file.c:150:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- uint8_t File::readByte() {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/file.c:156:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- uint16_t File::readUint16BE() {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/file.c:162:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- uint32_t File::readUint32BE() {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/file.c:168:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void File::write(void *ptr, uint32_t size) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/file.c:172:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void File::writeByte(uint8_t b) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/file.c:176:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void File::writeUint16BE(uint16_t n) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/file.c:181:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void File::writeUint32BE(uint32_t n) {
- ^
- make: *** [/home/franklin/rockbox/build_sim/apps/plugins/xworld/file.o] Error 1
- In file included from /home/franklin/rockbox/firmware/export/system.h:203:0,
- from /home/franklin/rockbox/apps/plugin.h:55,
- from /home/franklin/rockbox/apps/plugins/xworld/bank.c:19:
- /home/franklin/rockbox/firmware/include/rbendian.h:92:4: error: #error "Missing OS swap defines."
- #error "Missing OS swap defines."
- ^
- /home/franklin/rockbox/firmware/include/rbendian.h: In function 'swap16_hw':
- /home/franklin/rockbox/firmware/include/rbendian.h:97:3: warning: implicit declaration of function '__swap16_os' [-Wimplicit-function-declaration]
- { return __swap16_os(x); }
- ^
- /home/franklin/rockbox/firmware/include/rbendian.h: In function 'swap32_hw':
- /home/franklin/rockbox/firmware/include/rbendian.h:99:3: warning: implicit declaration of function '__swap32_os' [-Wimplicit-function-declaration]
- { return __swap32_os(x); }
- ^
- /home/franklin/rockbox/firmware/include/rbendian.h: In function 'swap64_hw':
- /home/franklin/rockbox/firmware/include/rbendian.h:101:3: warning: implicit declaration of function '__swap64_os' [-Wimplicit-function-declaration]
- { return __swap64_os(x); }
- ^
- In file included from /usr/include/stdlib.h:42:0,
- from /home/franklin/rockbox/apps/plugins/xworld/intern.h:23,
- from /home/franklin/rockbox/apps/plugins/xworld/mixer.h:22,
- from /home/franklin/rockbox/apps/plugins/xworld/mixer.c:19:
- /usr/include/bits/waitstatus.h:79:15: error: duplicate member '__w_retcode'
- unsigned int __w_retcode:8;
- ^
- /usr/include/bits/waitstatus.h:80:15: error: duplicate member '__w_coredump'
- unsigned int __w_coredump:1;
- ^
- /usr/include/bits/waitstatus.h:81:15: error: duplicate member '__w_termsig'
- unsigned int __w_termsig:7;
- ^
- /usr/include/bits/waitstatus.h:93:15: error: duplicate member '__w_stopsig'
- unsigned int __w_stopsig:8; /* Stopping signal. */
- ^
- /usr/include/bits/waitstatus.h:94:15: error: duplicate member '__w_stopval'
- unsigned int __w_stopval:8; /* W_STOPPED if stopped. */
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/mixer.h:22:0,
- from /home/franklin/rockbox/apps/plugins/xworld/mixer.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:38:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
- templete<typename T>
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h: In function 'scriptPtr_fetchWord':
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: error: 'b' undeclared (first use in this function)
- uint16_t i = READ_BE_UINT16(b->pc);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: note: each undeclared identifier is reported only once for each function it appears in
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:53:49: warning: unused parameter 'p' [-Wunused-parameter]
- inline uint16_t scriptPtr_fetchWord(struct Ptr* p) {
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/mixer.c:19:0:
- /home/franklin/rockbox/apps/plugins/xworld/mixer.h: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/mixer.h:34:2: error: unknown type name 'MixerChunk'
- MixerChunk chunk;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.h:48:2: error: unknown type name 'System'
- System *sys;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.h:53:2: error: unknown type name 'MixerChannel'
- MixerChannel _channels[AUDIO_NUM_CHANNELS];
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.h:55:2: error: expected specifier-qualifier-list before 'Mixer'
- Mixer(System *stub);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/mixer.c:20:0:
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:36:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:43:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:50:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:55:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:58:3: error: unknown type name 'EntryType'
- EntryType type;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:64:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:66:2: error: unknown type name 'File'
- File *_stream;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:67:2: error: unknown type name 'Mode'
- Mode _mode;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:72:2: error: expected specifier-qualifier-list before 'Serializer'
- Serializer(File *stream, Mode mode, uint8_t *ptrBlock, uint16_t saveVer = CUR_VER);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/mixer.c:21:0:
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:34:6: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:37:5: error: unknown type name 'bool'
- bool button;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:38:5: error: unknown type name 'bool'
- bool code;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:39:5: error: unknown type name 'bool'
- bool pause;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:40:5: error: unknown type name 'bool'
- bool quit;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:42:5: error: unknown type name 'bool'
- bool save, load;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:43:5: error: unknown type name 'bool'
- bool fastMode;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:51:5: error: expected specifier-qualifier-list before 'typedef'
- typedef void (*AudioCallback)(void *param, uint8_t *stream, int len);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:68:37: error: unknown type name 'AudioCallback'
- void sys_startAudio(struct System*, AudioCallback callback, void *param);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:72:52: error: unknown type name 'TimerCallback'
- void *sys_addTimer(struct System*, uint32_t delay, TimerCallback callback, void *param);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:83:5: error: unknown type name 'System'
- System *sys;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:86:1: error: expected specifier-qualifier-list before 'MutexStack'
- MutexStack(System *stub, void *mutex)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.c:35:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- Mixer::Mixer(System *stub)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.c:39:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void Mixer::init() {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.c:45:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void Mixer::free() {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.c:51:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void Mixer::playChannel(uint8_t channel, const MixerChunk *mc, uint16_t freq, uint8_t volume) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.c:67:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void Mixer::stopChannel(uint8_t channel) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.c:74:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void Mixer::setChannelVolume(uint8_t channel, uint8_t volume) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.c:81:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void Mixer::stopAll() {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.c:95:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void Mixer::mix(int8_t *buf, int len) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.c:152:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void Mixer::mixCallback(void *param, uint8_t *buf, int len) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.c:156:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void Mixer::saveOrLoad(Serializer &ser) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.c:24:15: warning: 'addclamp' defined but not used [-Wunused-function]
- static int8_t addclamp(int a, int b) {
- ^
- make: *** [/home/franklin/rockbox/build_sim/apps/plugins/xworld/mixer.o] Error 1
- In file included from /home/franklin/rockbox/apps/plugins/xworld/file.h:22:0,
- from /home/franklin/rockbox/firmware/export/scroll_engine.h:30,
- from /home/franklin/rockbox/apps/screen_access.h:27,
- from /home/franklin/rockbox/apps/gui/viewport.h:29,
- from /home/franklin/rockbox/apps/action.h:25,
- from /home/franklin/rockbox/apps/plugin.h:61,
- from /home/franklin/rockbox/apps/plugins/xworld/bank.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/intern.h: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:29:0: warning: "MAX" redefined
- #define MAX(x,y) ((x)>(y)?(x):(y))
- ^
- In file included from /home/franklin/rockbox/apps/plugin.h:55:0,
- from /home/franklin/rockbox/apps/plugins/xworld/bank.c:19:
- /home/franklin/rockbox/firmware/export/system.h:101:0: note: this is the location of the previous definition
- #define MAX(a, b) (((a)>(b))?(a):(b))
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/file.h:22:0,
- from /home/franklin/rockbox/firmware/export/scroll_engine.h:30,
- from /home/franklin/rockbox/apps/screen_access.h:27,
- from /home/franklin/rockbox/apps/gui/viewport.h:29,
- from /home/franklin/rockbox/apps/action.h:25,
- from /home/franklin/rockbox/apps/plugin.h:61,
- from /home/franklin/rockbox/apps/plugins/xworld/bank.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:30:0: warning: "MIN" redefined
- #define MIN(x,y) ((x)<(y)?(x):(y))
- ^
- In file included from /home/franklin/rockbox/apps/plugin.h:55:0,
- from /home/franklin/rockbox/apps/plugins/xworld/bank.c:19:
- /home/franklin/rockbox/firmware/export/system.h:97:0: note: this is the location of the previous definition
- #define MIN(a, b) (((a)<(b))?(a):(b))
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/file.h:22:0,
- from /home/franklin/rockbox/firmware/export/scroll_engine.h:30,
- from /home/franklin/rockbox/apps/screen_access.h:27,
- from /home/franklin/rockbox/apps/gui/viewport.h:29,
- from /home/franklin/rockbox/apps/action.h:25,
- from /home/franklin/rockbox/apps/plugin.h:61,
- from /home/franklin/rockbox/apps/plugins/xworld/bank.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:38:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
- templete<typename T>
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h: In function 'scriptPtr_fetchWord':
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: error: 'b' undeclared (first use in this function)
- uint16_t i = READ_BE_UINT16(b->pc);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: note: each undeclared identifier is reported only once for each function it appears in
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:53:49: warning: unused parameter 'p' [-Wunused-parameter]
- inline uint16_t scriptPtr_fetchWord(struct Ptr* p) {
- ^
- In file included from /home/franklin/rockbox/firmware/export/scroll_engine.h:30:0,
- from /home/franklin/rockbox/apps/screen_access.h:27,
- from /home/franklin/rockbox/apps/gui/viewport.h:29,
- from /home/franklin/rockbox/apps/action.h:25,
- from /home/franklin/rockbox/apps/plugin.h:61,
- from /home/franklin/rockbox/apps/plugins/xworld/bank.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/file.h: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/file.h:29:2: error: expected specifier-qualifier-list before 'File'
- File(bool gzipped = false);
- ^
- In file included from /usr/include/stdlib.h:42:0,
- from /home/franklin/rockbox/apps/plugins/xworld/intern.h:23,
- from /home/franklin/rockbox/apps/plugins/xworld/parts.h:4,
- from /home/franklin/rockbox/apps/plugins/xworld/parts.c:1:
- /usr/include/bits/waitstatus.h:79:15: error: duplicate member '__w_retcode'
- unsigned int __w_retcode:8;
- ^
- /usr/include/bits/waitstatus.h:80:15: error: duplicate member '__w_coredump'
- unsigned int __w_coredump:1;
- ^
- /usr/include/bits/waitstatus.h:81:15: error: duplicate member '__w_termsig'
- unsigned int __w_termsig:7;
- ^
- /usr/include/bits/waitstatus.h:93:15: error: duplicate member '__w_stopsig'
- unsigned int __w_stopsig:8; /* Stopping signal. */
- ^
- /usr/include/bits/waitstatus.h:94:15: error: duplicate member '__w_stopval'
- unsigned int __w_stopval:8; /* W_STOPPED if stopped. */
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/parts.h:4:0,
- from /home/franklin/rockbox/apps/plugins/xworld/parts.c:1:
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:38:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
- templete<typename T>
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h: In function 'scriptPtr_fetchWord':
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: error: 'b' undeclared (first use in this function)
- uint16_t i = READ_BE_UINT16(b->pc);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: note: each undeclared identifier is reported only once for each function it appears in
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:53:49: warning: unused parameter 'p' [-Wunused-parameter]
- inline uint16_t scriptPtr_fetchWord(struct Ptr* p) {
- ^
- make: *** [/home/franklin/rockbox/build_sim/apps/plugins/xworld/parts.o] Error 1
- In file included from /home/franklin/rockbox/apps/plugins/xworld/bank.c:20:0:
- /home/franklin/rockbox/apps/plugins/xworld/bank.h:43:36: error: unknown type name 'MemEntry'
- bool bank_read(struct Bank*, const MemEntry *me, uint8_t *buf);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/bank.c:22:0:
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:74:5: error: unknown type name 'Video'
- Video *video;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:90:10: error: unknown type name 'Video'
- Resource(Video *vid, const char *dataDir);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:93:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void readEntries();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:94:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void loadMarkedAsNeeded();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:95:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void invalidateAll();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:96:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void invalidateRes();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:99:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void allocMemBlock();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:100:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void freeMemBlock();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:102:28: error: expected ')' before '&' token
- void saveOrLoad(Serializer &ser);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:104:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- const char* getDataDir();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/bank.c:30:6: error: conflicting types for 'bank_read'
- bool bank_read(struct Bank* b, const MemEntry *me, uint8_t *buf) {
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/bank.c:20:0:
- /home/franklin/rockbox/apps/plugins/xworld/bank.h:43:6: note: previous declaration of 'bank_read' was here
- bool bank_read(struct Bank*, const MemEntry *me, uint8_t *buf);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/bank.c: In function 'bank_read':
- /home/franklin/rockbox/apps/plugins/xworld/bank.c:36:7: error: 'f' undeclared (first use in this function)
- if (!f.open(bankName, _dataDir))
- ^
- /home/franklin/rockbox/apps/plugins/xworld/bank.c:36:24: error: '_dataDir' undeclared (first use in this function)
- if (!f.open(bankName, _dataDir))
- ^
- /home/franklin/rockbox/apps/plugins/xworld/bank.c:49:3: error: '_startBuf' undeclared (first use in this function)
- _startBuf = buf;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/bank.c:50:3: error: '_iBuf' undeclared (first use in this function)
- _iBuf = buf + me->packedSize - 4;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/bank.c:51:3: warning: implicit declaration of function 'unpack' [-Wimplicit-function-declaration]
- ret = unpack();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/bank.c:35:6: warning: unused variable 'fd' [-Wunused-variable]
- int fd;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/bank.c:30:29: warning: unused parameter 'b' [-Wunused-parameter]
- bool bank_read(struct Bank* b, const MemEntry *me, uint8_t *buf) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/bank.c: In function 'bank_decUnk1':
- /home/franklin/rockbox/apps/plugins/xworld/bank.c:63:9: warning: implicit declaration of function 'getCode' [-Wimplicit-function-declaration]
- *b->_oBuf = (uint8_t)getCode(8);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/bank.c: In function 'bank_decUnk2':
- /home/franklin/rockbox/apps/plugins/xworld/bank.c:78:23: error: '_oBuf' undeclared (first use in this function)
- *b->_oBuf = *(_oBuf + i);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/bank.c: In function 'bank_unpack':
- /home/franklin/rockbox/apps/plugins/xworld/bank.c:97:29: warning: implicit declaration of function 'decUnk1' [-Wimplicit-function-declaration]
- decUnk1(b, 3, 0);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/bank.c:99:29: warning: implicit declaration of function 'decUnk2' [-Wimplicit-function-declaration]
- decUnk2(b, 8);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/bank.c: In function 'bank_nextChunk':
- /home/franklin/rockbox/apps/plugins/xworld/bank.c:136:9: warning: implicit declaration of function 'rcr' [-Wimplicit-function-declaration]
- CF = rcr(true);
- ^
- make: *** [/home/franklin/rockbox/build_sim/apps/plugins/xworld/bank.o] Error 1
- In file included from /usr/include/stdlib.h:42:0,
- from /home/franklin/rockbox/apps/plugins/xworld/intern.h:23,
- from /home/franklin/rockbox/apps/plugins/xworld/resource.h:22,
- from /home/franklin/rockbox/apps/plugins/xworld/resource.c:19:
- /usr/include/bits/waitstatus.h:79:15: error: duplicate member '__w_retcode'
- unsigned int __w_retcode:8;
- ^
- /usr/include/bits/waitstatus.h:80:15: error: duplicate member '__w_coredump'
- unsigned int __w_coredump:1;
- ^
- /usr/include/bits/waitstatus.h:81:15: error: duplicate member '__w_termsig'
- unsigned int __w_termsig:7;
- ^
- /usr/include/bits/waitstatus.h:93:15: error: duplicate member '__w_stopsig'
- unsigned int __w_stopsig:8; /* Stopping signal. */
- ^
- /usr/include/bits/waitstatus.h:94:15: error: duplicate member '__w_stopval'
- unsigned int __w_stopval:8; /* W_STOPPED if stopped. */
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/resource.h:22:0,
- from /home/franklin/rockbox/apps/plugins/xworld/resource.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:38:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
- templete<typename T>
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h: In function 'scriptPtr_fetchWord':
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: error: 'b' undeclared (first use in this function)
- uint16_t i = READ_BE_UINT16(b->pc);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: note: each undeclared identifier is reported only once for each function it appears in
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:53:49: warning: unused parameter 'p' [-Wunused-parameter]
- inline uint16_t scriptPtr_fetchWord(struct Ptr* p) {
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/resource.c:19:0:
- /home/franklin/rockbox/apps/plugins/xworld/resource.h: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:74:5: error: unknown type name 'Video'
- Video *video;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:80:5: error: unknown type name 'bool'
- bool _useSegVideo2;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:90:10: error: unknown type name 'Video'
- Resource(Video *vid, const char *dataDir);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:93:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void readEntries();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:94:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void loadMarkedAsNeeded();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:95:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void invalidateAll();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:96:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void invalidateRes();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:99:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void allocMemBlock();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:100:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void freeMemBlock();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:102:28: error: expected ')' before '&' token
- void saveOrLoad(Serializer &ser);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:104:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- const char* getDataDir();
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/resource.c:20:0:
- /home/franklin/rockbox/apps/plugins/xworld/bank.h:43:1: error: unknown type name 'bool'
- bool bank_read(struct Bank*, const MemEntry *me, uint8_t *buf);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/bank.h:46:1: error: unknown type name 'bool'
- bool bank_unpack(struct Bank*);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/bank.h:48:1: error: unknown type name 'bool'
- bool bank_nextChunk(struct Bank*);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/bank.h:49:1: error: unknown type name 'bool'
- bool bank_rcr(struct Bank*, bool CF);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/bank.h:49:29: error: unknown type name 'bool'
- bool bank_rcr(struct Bank*, bool CF);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/resource.c:21:0:
- /home/franklin/rockbox/apps/plugins/xworld/file.h:29:2: error: expected specifier-qualifier-list before 'File'
- File(bool gzipped = false);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/resource.c:22:0:
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:36:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:43:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:50:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:55:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:58:3: error: unknown type name 'EntryType'
- EntryType type;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:64:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:66:2: error: unknown type name 'File'
- File *_stream;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:67:2: error: unknown type name 'Mode'
- Mode _mode;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:72:2: error: expected specifier-qualifier-list before 'Serializer'
- Serializer(File *stream, Mode mode, uint8_t *ptrBlock, uint16_t saveVer = CUR_VER);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/resource.c:23:0:
- /home/franklin/rockbox/apps/plugins/xworld/video.h:51:5: error: expected specifier-qualifier-list before 'typedef'
- typedef void (Video::*drawLine)(int16_t x1, int16_t x2, uint8_t col);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:92:84: warning: type defaults to 'int' in declaration of 'Point'
- void video_readAndDrawPolygon(struct Video* v, uint8_t color, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:92:90: error: expected ';', ',' or ')' before '&' token
- void video_readAndDrawPolygon(struct Video* v, uint8_t color, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:93:78: warning: type defaults to 'int' in declaration of 'Point'
- void video_fillPolygon(struct Video* v, uint16_t color, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:93:84: error: expected ';', ',' or ')' before '&' token
- void video_fillPolygon(struct Video* v, uint16_t color, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:94:78: warning: type defaults to 'int' in declaration of 'Point'
- void video_readAndDrawPolygonHierarchy(struct Video* v, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:94:84: error: expected ';', ',' or ')' before '&' token
- void video_readAndDrawPolygonHierarchy(struct Video* v, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:95:47: warning: type defaults to 'int' in declaration of 'Point'
- int32_t video_calcStep(struct Video* v, const Point &p1, const Point &p2, uint16_t &dy);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:95:53: error: expected ';', ',' or ')' before '&' token
- int32_t video_calcStep(struct Video* v, const Point &p1, const Point &p2, uint16_t &dy);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:112:40: error: unknown type name 'Serializer'
- void video_saveOrLoad(struct Video* v, Serializer &ser);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:27:19: error: unknown type name 'Video'
- resource_Resource(Video *vid, const char *dataDir)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c: In function 'resource_readBank':
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:32:23: error: '_memList' undeclared (first use in this function)
- uint16_t n = me - _memList;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:35:5: error: unknown type name 'Bank'
- Bank bk(_dataDir);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:35:5: warning: parameter names (without types) in function declaration
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:36:12: error: request for member 'read' in something not a structure or union
- if (!bk.read(me, dstBuf)) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:68:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void resource_readEntries() {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c: In function 'resource_readEntries':
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:69:5: error: unknown type name 'File'
- File f;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:73:11: error: request for member 'open' in something not a structure or union
- if (!f.open("memlist.bin", _dataDir)) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:73:32: error: '_dataDir' undeclared (first use in this function)
- if (!f.open("memlist.bin", _dataDir)) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:82:5: error: '_numMemList' undeclared (first use in this function)
- _numMemList = 0;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:83:26: error: '_memList' undeclared (first use in this function)
- MemEntry *memEntry = _memList;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:86:28: error: request for member 'readByte' in something not a structure or union
- memEntry->state = f.readByte();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:87:27: error: request for member 'readByte' in something not a structure or union
- memEntry->type = f.readByte();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:88:32: error: request for member 'readUint16BE' in something not a structure or union
- memEntry->bufPtr = 0; f.readUint16BE();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:89:27: error: request for member 'readUint16BE' in something not a structure or union
- memEntry->unk4 = f.readUint16BE();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:90:30: error: request for member 'readByte' in something not a structure or union
- memEntry->rankNum = f.readByte();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:91:29: error: request for member 'readByte' in something not a structure or union
- memEntry->bankId = f.readByte();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:92:33: error: request for member 'readUint32BE' in something not a structure or union
- memEntry->bankOffset = f.readUint32BE();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:93:27: error: request for member 'readUint16BE' in something not a structure or union
- memEntry->unkC = f.readUint16BE();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:94:33: error: request for member 'readUint16BE' in something not a structure or union
- memEntry->packedSize = f.readUint16BE();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:95:28: error: request for member 'readUint16BE' in something not a structure or union
- memEntry->unk10 = f.readUint16BE();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:96:27: error: request for member 'readUint16BE' in something not a structure or union
- memEntry->size = f.readUint16BE();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:69:10: warning: variable 'f' set but not used [-Wunused-but-set-variable]
- File f;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:166:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void resource_loadMarkedAsNeeded() {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c: In function 'resource_loadMarkedAsNeeded':
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:174:22: error: '_numMemList' undeclared (first use in this function)
- uint16_t i = _numMemList;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:175:24: error: '_memList' undeclared (first use in this function)
- MemEntry *it = _memList;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:194:31: error: '_vidCurPtr' undeclared (first use in this function)
- loadDestination = _vidCurPtr;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:196:31: error: '_scriptCurPtr' undeclared (first use in this function)
- loadDestination = _scriptCurPtr;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:197:28: error: '_vidBakPtr' undeclared (first use in this function)
- if (me->size > _vidBakPtr - _scriptCurPtr) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:209:109: error: '_memPtrStart' undeclared (first use in this function)
- debug(DBG_BANK, "resource_load() bufPos=%X size=%X type=%X pos=%X bankId=%X", loadDestination - _memPtrStart, me->packedSize, me->type, me->bankOffset, me->bankId);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:212:17: error: 'video' undeclared (first use in this function)
- video->copyPagePtr(_vidCurPtr);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:226:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void resource_invalidateRes() {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c: In function 'resource_invalidateRes':
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:227:20: error: '_memList' undeclared (first use in this function)
- MemEntry *me = _memList;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:228:18: error: '_numMemList' undeclared (first use in this function)
- uint16_t i = _numMemList;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:235:5: error: '_scriptCurPtr' undeclared (first use in this function)
- _scriptCurPtr = _scriptBakPtr;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:235:21: error: '_scriptBakPtr' undeclared (first use in this function)
- _scriptCurPtr = _scriptBakPtr;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:238:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void resource_invalidateAll() {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c: In function 'resource_invalidateAll':
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:239:20: error: '_memList' undeclared (first use in this function)
- MemEntry *me = _memList;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:240:18: error: '_numMemList' undeclared (first use in this function)
- uint16_t i = _numMemList;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:245:5: error: '_scriptCurPtr' undeclared (first use in this function)
- _scriptCurPtr = _memPtrStart;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:245:21: error: '_memPtrStart' undeclared (first use in this function)
- _scriptCurPtr = _memPtrStart;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c: In function 'resource_loadPartsOrMemoryEntry':
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:257:22: error: '_numMemList' undeclared (first use in this function)
- if (resourceId > _numMemList) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:259:9: error: 'requestedNextPart' undeclared (first use in this function)
- requestedNextPart = resourceId;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:263:25: error: '_memList' undeclared (first use in this function)
- MemEntry *me = &_memList[resourceId];
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c: In function 'resource_setupPart':
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:281:19: error: 'currentPartId' undeclared (first use in this function)
- if (partId == currentPartId)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:297:5: error: '_memList' undeclared (first use in this function)
- _memList[paletteIndex].state = MEMENTRY_STATE_LOAD_ME;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:309:5: error: 'segPalettes' undeclared (first use in this function)
- segPalettes = _memList[paletteIndex].bufPtr;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:310:5: error: 'segBytecode' undeclared (first use in this function)
- segBytecode = _memList[codeIndex].bufPtr;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:311:5: error: 'segCinematic' undeclared (first use in this function)
- segCinematic = _memList[videoCinematicIndex].bufPtr;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:318:9: error: '_segVideo2' undeclared (first use in this function)
- _segVideo2 = _memList[video2Index].bufPtr;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:335:5: error: '_scriptBakPtr' undeclared (first use in this function)
- _scriptBakPtr = _scriptCurPtr;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:335:21: error: '_scriptCurPtr' undeclared (first use in this function)
- _scriptBakPtr = _scriptCurPtr;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:338:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void resource_allocMemBlock() {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c: In function 'resource_allocMemBlock':
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:339:5: error: '_memPtrStart' undeclared (first use in this function)
- _memPtrStart = (uint8_t *)malloc(MEM_BLOCK_SIZE);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:340:5: error: '_scriptBakPtr' undeclared (first use in this function)
- _scriptBakPtr = _scriptCurPtr = _memPtrStart;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:340:21: error: '_scriptCurPtr' undeclared (first use in this function)
- _scriptBakPtr = _scriptCurPtr = _memPtrStart;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:341:5: error: '_vidBakPtr' undeclared (first use in this function)
- _vidBakPtr = _vidCurPtr = _memPtrStart + MEM_BLOCK_SIZE - 0x800 * 16; //0x800 = 2048, so we have 32KB free for vidBack and vidCur
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:341:18: error: '_vidCurPtr' undeclared (first use in this function)
- _vidBakPtr = _vidCurPtr = _memPtrStart + MEM_BLOCK_SIZE - 0x800 * 16; //0x800 = 2048, so we have 32KB free for vidBack and vidCur
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:342:5: error: '_useSegVideo2' undeclared (first use in this function)
- _useSegVideo2 = false;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:342:21: error: 'false' undeclared (first use in this function)
- _useSegVideo2 = false;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:345:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void resource_freeMemBlock() {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c: In function 'resource_freeMemBlock':
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:346:10: error: '_memPtrStart' undeclared (first use in this function)
- free(_memPtrStart);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:349:37: error: expected ')' before '&' token
- void resource_saveOrLoad(Serializer &ser) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:404:13: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- const char* resource_getDataDir()
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c: In function 'resource_getDataDir':
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:406:12: error: 'this' undeclared (first use in this function)
- return this->_dataDir;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.c:407:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- make: *** [/home/franklin/rockbox/build_sim/apps/plugins/xworld/resource.o] Error 1
- In file included from /usr/include/stdlib.h:42:0,
- from /home/franklin/rockbox/apps/plugins/xworld/intern.h:23,
- from /home/franklin/rockbox/apps/plugins/xworld/serializer.h:22,
- from /home/franklin/rockbox/apps/plugins/xworld/serializer.c:19:
- /usr/include/bits/waitstatus.h:79:15: error: duplicate member '__w_retcode'
- unsigned int __w_retcode:8;
- ^
- /usr/include/bits/waitstatus.h:80:15: error: duplicate member '__w_coredump'
- unsigned int __w_coredump:1;
- ^
- /usr/include/bits/waitstatus.h:81:15: error: duplicate member '__w_termsig'
- unsigned int __w_termsig:7;
- ^
- /usr/include/bits/waitstatus.h:93:15: error: duplicate member '__w_stopsig'
- unsigned int __w_stopsig:8; /* Stopping signal. */
- ^
- /usr/include/bits/waitstatus.h:94:15: error: duplicate member '__w_stopval'
- unsigned int __w_stopval:8; /* W_STOPPED if stopped. */
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/serializer.h:22:0,
- from /home/franklin/rockbox/apps/plugins/xworld/serializer.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:38:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
- templete<typename T>
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h: In function 'scriptPtr_fetchWord':
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: error: 'b' undeclared (first use in this function)
- uint16_t i = READ_BE_UINT16(b->pc);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: note: each undeclared identifier is reported only once for each function it appears in
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:53:49: warning: unused parameter 'p' [-Wunused-parameter]
- inline uint16_t scriptPtr_fetchWord(struct Ptr* p) {
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/serializer.c:19:0:
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:36:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:43:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:50:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:55:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:58:3: error: unknown type name 'EntryType'
- EntryType type;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:64:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:66:2: error: unknown type name 'File'
- File *_stream;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:67:2: error: unknown type name 'Mode'
- Mode _mode;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:72:2: error: expected specifier-qualifier-list before 'Serializer'
- Serializer(File *stream, Mode mode, uint8_t *ptrBlock, uint16_t saveVer = CUR_VER);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/serializer.c:20:0:
- /home/franklin/rockbox/apps/plugins/xworld/file.h:29:2: error: expected specifier-qualifier-list before 'File'
- File(bool gzipped = false);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.c:23:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- Serializer::Serializer(File *stream, Mode mode, uint8_t *ptrBlock, uint16_t saveVer)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.c:27:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void Serializer::saveOrLoadEntries(Entry *entry) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.c:41:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void Serializer::saveEntries(Entry *entry) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.c:74:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void Serializer::loadEntries(Entry *entry) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.c:107:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void Serializer::saveInt(uint8_t es, void *p) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.c:121:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void Serializer::loadInt(uint8_t es, void *p) {
- ^
- make: *** [/home/franklin/rockbox/build_sim/apps/plugins/xworld/serializer.o] Error 1
- In file included from /usr/include/stdlib.h:42:0,
- from /home/franklin/rockbox/apps/plugins/xworld/intern.h:23,
- from /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.h:22,
- from /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.c:19:
- /usr/include/bits/waitstatus.h:79:15: error: duplicate member '__w_retcode'
- unsigned int __w_retcode:8;
- ^
- /usr/include/bits/waitstatus.h:80:15: error: duplicate member '__w_coredump'
- unsigned int __w_coredump:1;
- ^
- /usr/include/bits/waitstatus.h:81:15: error: duplicate member '__w_termsig'
- unsigned int __w_termsig:7;
- ^
- /usr/include/bits/waitstatus.h:93:15: error: duplicate member '__w_stopsig'
- unsigned int __w_stopsig:8; /* Stopping signal. */
- ^
- /usr/include/bits/waitstatus.h:94:15: error: duplicate member '__w_stopval'
- unsigned int __w_stopval:8; /* W_STOPPED if stopped. */
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.h:22:0,
- from /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:38:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
- templete<typename T>
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h: In function 'scriptPtr_fetchWord':
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: error: 'b' undeclared (first use in this function)
- uint16_t i = READ_BE_UINT16(b->pc);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: note: each undeclared identifier is reported only once for each function it appears in
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:53:49: warning: unused parameter 'p' [-Wunused-parameter]
- inline uint16_t scriptPtr_fetchWord(struct Ptr* p) {
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.c:19:0:
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.h: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.h:35:2: error: unknown type name 'SfxInstrument'
- SfxInstrument samples[15];
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.h:56:2: error: unknown type name 'Mixer'
- Mixer *mixer;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.h:57:2: error: unknown type name 'Resource'
- Resource *res;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.h:58:2: error: unknown type name 'System'
- System *sys;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.h:64:2: error: unknown type name 'SfxModule'
- SfxModule _sfxMod;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.h:67:2: error: expected specifier-qualifier-list before 'SfxPlayer'
- SfxPlayer(Mixer *mix, Resource *res, System *stub);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.c:20:0:
- /home/franklin/rockbox/apps/plugins/xworld/mixer.h:34:2: error: unknown type name 'MixerChunk'
- MixerChunk chunk;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.h:48:2: error: unknown type name 'System'
- System *sys;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.h:53:2: error: unknown type name 'MixerChannel'
- MixerChannel _channels[AUDIO_NUM_CHANNELS];
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.h:55:2: error: expected specifier-qualifier-list before 'Mixer'
- Mixer(System *stub);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.c:21:0:
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:74:5: error: unknown type name 'Video'
- Video *video;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:80:5: error: unknown type name 'bool'
- bool _useSegVideo2;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:90:10: error: unknown type name 'Video'
- Resource(Video *vid, const char *dataDir);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:93:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void readEntries();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:94:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void loadMarkedAsNeeded();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:95:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void invalidateAll();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:96:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void invalidateRes();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:99:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void allocMemBlock();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:100:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void freeMemBlock();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:102:28: error: expected ')' before '&' token
- void saveOrLoad(Serializer &ser);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:104:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- const char* getDataDir();
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.c:22:0:
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:36:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:43:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:50:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:55:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:58:3: error: unknown type name 'EntryType'
- EntryType type;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:64:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:66:2: error: unknown type name 'File'
- File *_stream;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:67:2: error: unknown type name 'Mode'
- Mode _mode;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:72:2: error: expected specifier-qualifier-list before 'Serializer'
- Serializer(File *stream, Mode mode, uint8_t *ptrBlock, uint16_t saveVer = CUR_VER);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.c:23:0:
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:34:6: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:37:5: error: unknown type name 'bool'
- bool button;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:38:5: error: unknown type name 'bool'
- bool code;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:39:5: error: unknown type name 'bool'
- bool pause;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:40:5: error: unknown type name 'bool'
- bool quit;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:42:5: error: unknown type name 'bool'
- bool save, load;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:43:5: error: unknown type name 'bool'
- bool fastMode;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:51:5: error: expected specifier-qualifier-list before 'typedef'
- typedef void (*AudioCallback)(void *param, uint8_t *stream, int len);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:68:37: error: unknown type name 'AudioCallback'
- void sys_startAudio(struct System*, AudioCallback callback, void *param);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:72:52: error: unknown type name 'TimerCallback'
- void *sys_addTimer(struct System*, uint32_t delay, TimerCallback callback, void *param);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:83:5: error: unknown type name 'System'
- System *sys;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:86:1: error: expected specifier-qualifier-list before 'MutexStack'
- MutexStack(System *stub, void *mutex)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.c:26:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- SfxPlayer::SfxPlayer(Mixer *mix, Resource *res, System *stub)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.c:30:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void SfxPlayer::init() {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.c:34:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void SfxPlayer::free() {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.c:39:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void SfxPlayer::setEventsDelay(uint16_t delay) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.c:45:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void SfxPlayer::loadSfxModule(uint16_t resNum, uint16_t delay, uint8_t pos) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.c:76:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void SfxPlayer::prepareInstruments(const uint8_t *p) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.c:98:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void SfxPlayer::start() {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.c:105:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void SfxPlayer::stop() {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.c:114:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void SfxPlayer::handleEvents() {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.c:136:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void SfxPlayer::handlePattern(uint8_t channel, const uint8_t *data) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.c:203:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- uint32_t SfxPlayer::eventsCallback(uint32_t interval, void *param) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.c:209:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- void SfxPlayer::saveOrLoad(Serializer &ser) {
- ^
- make: *** [/home/franklin/rockbox/build_sim/apps/plugins/xworld/sfxplayer.o] Error 1
- In file included from /usr/include/stdlib.h:42:0,
- from /home/franklin/rockbox/apps/plugins/xworld/intern.h:23,
- from /home/franklin/rockbox/apps/plugins/xworld/vm.h:24,
- from /home/franklin/rockbox/apps/plugins/xworld/staticres.c:19:
- /usr/include/bits/waitstatus.h:79:15: error: duplicate member '__w_retcode'
- unsigned int __w_retcode:8;
- ^
- /usr/include/bits/waitstatus.h:80:15: error: duplicate member '__w_coredump'
- unsigned int __w_coredump:1;
- ^
- /usr/include/bits/waitstatus.h:81:15: error: duplicate member '__w_termsig'
- unsigned int __w_termsig:7;
- ^
- /usr/include/bits/waitstatus.h:93:15: error: duplicate member '__w_stopsig'
- unsigned int __w_stopsig:8; /* Stopping signal. */
- ^
- /usr/include/bits/waitstatus.h:94:15: error: duplicate member '__w_stopval'
- unsigned int __w_stopval:8; /* W_STOPPED if stopped. */
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/vm.h:24:0,
- from /home/franklin/rockbox/apps/plugins/xworld/staticres.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:38:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
- templete<typename T>
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h: In function 'scriptPtr_fetchWord':
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: error: 'b' undeclared (first use in this function)
- uint16_t i = READ_BE_UINT16(b->pc);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: note: each undeclared identifier is reported only once for each function it appears in
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:53:49: warning: unused parameter 'p' [-Wunused-parameter]
- inline uint16_t scriptPtr_fetchWord(struct Ptr* p) {
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/staticres.c:19:0:
- /home/franklin/rockbox/apps/plugins/xworld/vm.h: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/vm.h:70:5: error: expected specifier-qualifier-list before 'typedef'
- typedef void (VirtualMachine::*OpcodeStub)();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/vm.h:114:29: error: expected ')' before '*' token
- struct VirtualMachine(Mixer *mix, Resource *res, SfxPlayer *ply, Video *vid, System *stub);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/vm.h:157:44: error: unknown type name 'Serializer'
- void vm_saveOrLoad(struct VirtualMachine*, Serializer &ser);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/staticres.c:20:0:
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:74:5: error: unknown type name 'Video'
- Video *video;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:80:5: error: unknown type name 'bool'
- bool _useSegVideo2;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:90:10: error: unknown type name 'Video'
- Resource(Video *vid, const char *dataDir);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:93:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void readEntries();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:94:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void loadMarkedAsNeeded();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:95:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void invalidateAll();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:96:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void invalidateRes();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:99:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void allocMemBlock();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:100:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void freeMemBlock();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:102:28: error: expected ')' before '&' token
- void saveOrLoad(Serializer &ser);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:104:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- const char* getDataDir();
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/staticres.c:21:0:
- /home/franklin/rockbox/apps/plugins/xworld/video.h:51:5: error: expected specifier-qualifier-list before 'typedef'
- typedef void (Video::*drawLine)(int16_t x1, int16_t x2, uint8_t col);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:92:84: warning: type defaults to 'int' in declaration of 'Point'
- void video_readAndDrawPolygon(struct Video* v, uint8_t color, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:92:90: error: expected ';', ',' or ')' before '&' token
- void video_readAndDrawPolygon(struct Video* v, uint8_t color, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:93:78: warning: type defaults to 'int' in declaration of 'Point'
- void video_fillPolygon(struct Video* v, uint16_t color, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:93:84: error: expected ';', ',' or ')' before '&' token
- void video_fillPolygon(struct Video* v, uint16_t color, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:94:78: warning: type defaults to 'int' in declaration of 'Point'
- void video_readAndDrawPolygonHierarchy(struct Video* v, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:94:84: error: expected ';', ',' or ')' before '&' token
- void video_readAndDrawPolygonHierarchy(struct Video* v, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:95:47: warning: type defaults to 'int' in declaration of 'Point'
- int32_t video_calcStep(struct Video* v, const Point &p1, const Point &p2, uint16_t &dy);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:95:53: error: expected ';', ',' or ')' before '&' token
- int32_t video_calcStep(struct Video* v, const Point &p1, const Point &p2, uint16_t &dy);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:112:40: error: unknown type name 'Serializer'
- void video_saveOrLoad(struct Video* v, Serializer &ser);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/staticres.c:24:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- const VirtualMachine::OpcodeStub VirtualMachine::opcodeTable[] = {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/staticres.c:61:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- const uint16_t VirtualMachine::frequenceTable[] = {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/staticres.c:71:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- const uint8_t Video::_font[] = {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/staticres.c:123:7: error: unknown type name 'StrEntry'
- const StrEntry Video::_stringsTableEng[] = {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/staticres.c:123:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- const StrEntry Video::_stringsTableEng[] = {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/staticres.c:267:7: error: unknown type name 'StrEntry'
- const StrEntry Video::_stringsTableDemo[] = {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/staticres.c:267:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
- const StrEntry Video::_stringsTableDemo[] = {
- ^
- make: *** [/home/franklin/rockbox/build_sim/apps/plugins/xworld/staticres.o] Error 1
- /home/franklin/rockbox/apps/plugins/xworld/util.c:19:19: fatal error: cstdarg: No such file or directory
- #include <cstdarg>
- ^
- compilation terminated.
- make: *** [/home/franklin/rockbox/build_sim/apps/plugins/xworld/util.o] Error 1
- /home/franklin/rockbox/apps/plugins/xworld/vm.c:19:17: fatal error: ctime: No such file or directory
- #include <ctime>
- ^
- compilation terminated.
- make: *** [/home/franklin/rockbox/build_sim/apps/plugins/xworld/vm.o] Error 1
- In file included from /usr/include/stdlib.h:42:0,
- from /home/franklin/rockbox/apps/plugins/xworld/intern.h:23,
- from /home/franklin/rockbox/apps/plugins/xworld/video.h:22,
- from /home/franklin/rockbox/apps/plugins/xworld/video.c:19:
- /usr/include/bits/waitstatus.h:79:15: error: duplicate member '__w_retcode'
- unsigned int __w_retcode:8;
- ^
- /usr/include/bits/waitstatus.h:80:15: error: duplicate member '__w_coredump'
- unsigned int __w_coredump:1;
- ^
- /usr/include/bits/waitstatus.h:81:15: error: duplicate member '__w_termsig'
- unsigned int __w_termsig:7;
- ^
- /usr/include/bits/waitstatus.h:93:15: error: duplicate member '__w_stopsig'
- unsigned int __w_stopsig:8; /* Stopping signal. */
- ^
- /usr/include/bits/waitstatus.h:94:15: error: duplicate member '__w_stopval'
- unsigned int __w_stopval:8; /* W_STOPPED if stopped. */
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/video.h:22:0,
- from /home/franklin/rockbox/apps/plugins/xworld/video.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:38:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
- templete<typename T>
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h: In function 'scriptPtr_fetchWord':
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: error: 'b' undeclared (first use in this function)
- uint16_t i = READ_BE_UINT16(b->pc);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: note: each undeclared identifier is reported only once for each function it appears in
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:53:49: warning: unused parameter 'p' [-Wunused-parameter]
- inline uint16_t scriptPtr_fetchWord(struct Ptr* p) {
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/video.c:19:0:
- /home/franklin/rockbox/apps/plugins/xworld/video.h: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/video.h:51:5: error: expected specifier-qualifier-list before 'typedef'
- typedef void (Video::*drawLine)(int16_t x1, int16_t x2, uint8_t col);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:92:84: warning: type defaults to 'int' in declaration of 'Point'
- void video_readAndDrawPolygon(struct Video* v, uint8_t color, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:92:90: error: expected ';', ',' or ')' before '&' token
- void video_readAndDrawPolygon(struct Video* v, uint8_t color, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:93:78: warning: type defaults to 'int' in declaration of 'Point'
- void video_fillPolygon(struct Video* v, uint16_t color, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:93:84: error: expected ';', ',' or ')' before '&' token
- void video_fillPolygon(struct Video* v, uint16_t color, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:94:78: warning: type defaults to 'int' in declaration of 'Point'
- void video_readAndDrawPolygonHierarchy(struct Video* v, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:94:84: error: expected ';', ',' or ')' before '&' token
- void video_readAndDrawPolygonHierarchy(struct Video* v, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:95:47: warning: type defaults to 'int' in declaration of 'Point'
- int32_t video_calcStep(struct Video* v, const Point &p1, const Point &p2, uint16_t &dy);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:95:53: error: expected ';', ',' or ')' before '&' token
- int32_t video_calcStep(struct Video* v, const Point &p1, const Point &p2, uint16_t &dy);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:112:40: error: unknown type name 'Serializer'
- void video_saveOrLoad(struct Video* v, Serializer &ser);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/video.c:20:0:
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:74:5: error: unknown type name 'Video'
- Video *video;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:80:5: error: unknown type name 'bool'
- bool _useSegVideo2;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:90:10: error: unknown type name 'Video'
- Resource(Video *vid, const char *dataDir);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:93:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void readEntries();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:94:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void loadMarkedAsNeeded();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:95:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void invalidateAll();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:96:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void invalidateRes();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:99:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void allocMemBlock();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:100:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void freeMemBlock();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:102:28: error: expected ')' before '&' token
- void saveOrLoad(Serializer &ser);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:104:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- const char* getDataDir();
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/video.c:21:0:
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:36:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:43:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:50:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:55:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:58:3: error: unknown type name 'EntryType'
- EntryType type;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:64:3: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:66:2: error: unknown type name 'File'
- File *_stream;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:67:2: error: unknown type name 'Mode'
- Mode _mode;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/serializer.h:72:2: error: expected specifier-qualifier-list before 'Serializer'
- Serializer(File *stream, Mode mode, uint8_t *ptrBlock, uint16_t saveVer = CUR_VER);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/video.c:22:0:
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:34:6: warning: declaration does not declare anything
- };
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:37:5: error: unknown type name 'bool'
- bool button;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:38:5: error: unknown type name 'bool'
- bool code;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:39:5: error: unknown type name 'bool'
- bool pause;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:40:5: error: unknown type name 'bool'
- bool quit;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:42:5: error: unknown type name 'bool'
- bool save, load;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:43:5: error: unknown type name 'bool'
- bool fastMode;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:51:5: error: expected specifier-qualifier-list before 'typedef'
- typedef void (*AudioCallback)(void *param, uint8_t *stream, int len);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:68:37: error: unknown type name 'AudioCallback'
- void sys_startAudio(struct System*, AudioCallback callback, void *param);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:72:52: error: unknown type name 'TimerCallback'
- void *sys_addTimer(struct System*, uint32_t delay, TimerCallback callback, void *param);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:83:5: error: unknown type name 'System'
- System *sys;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.h:86:1: error: expected specifier-qualifier-list before 'MutexStack'
- MutexStack(System *stub, void *mutex)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c: In function 'polygon_readVertices':
- /home/franklin/rockbox/apps/plugins/xworld/video.c:33:29: error: 'points' undeclared (first use in this function)
- struct Point *pt = &points[i];
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/video.c:39:13: error: unknown type name 'Resource'
- video_Video(Resource *resParameter, System *stub)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:39:37: error: unknown type name 'System'
- video_Video(Resource *resParameter, System *stub)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c: In function 'video_init':
- /home/franklin/rockbox/apps/plugins/xworld/video.c:45:5: error: 'paletteIdRequested' undeclared (first use in this function)
- paletteIdRequested = NO_PALETTE_CHANGE_REQUESTED;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:47:40: error: 'VID_PAGE_SIZE' undeclared (first use in this function)
- uint8_t* tmp = (uint8_t *)malloc(4*VID_PAGE_SIZE);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:56:9: error: '_pagePtrs' undeclared (first use in this function)
- _pagePtrs[i] = tmp + i * VID_PAGE_SIZE;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:59:5: error: '_curPagePtr3' undeclared (first use in this function)
- _curPagePtr3 = getPagePtr(1);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:59:5: warning: implicit declaration of function 'getPagePtr' [-Wimplicit-function-declaration]
- /home/franklin/rockbox/apps/plugins/xworld/video.c:60:5: error: '_curPagePtr2' undeclared (first use in this function)
- _curPagePtr2 = getPagePtr(2);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:63:5: warning: implicit declaration of function 'changePagePtr1' [-Wimplicit-function-declaration]
- changePagePtr1(0xFE);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:65:5: error: '_interpTable' undeclared (first use in this function)
- _interpTable[0] = 0x4000;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:43:31: warning: unused parameter 'v' [-Wunused-parameter]
- void video_init(struct Video* v) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c: In function 'video_setDataBuffer':
- /home/franklin/rockbox/apps/plugins/xworld/video.c:77:5: error: '_dataBuf' undeclared (first use in this function)
- _dataBuf = dataBuf;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:78:5: error: '_pData' undeclared (first use in this function)
- _pData.pc = dataBuf + offset;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:75:40: warning: unused parameter 'v' [-Wunused-parameter]
- void video_setDataBuffer(struct Video* v, uint8_t *dataBuf, uint16_t offset) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/video.c:88:84: warning: type defaults to 'int' in declaration of 'Point'
- void video_readAndDrawPolygon(struct Video* v, uint8_t color, uint16_t zoom, const Point &pt) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:88:90: error: expected ';', ',' or ')' before '&' token
- void video_readAndDrawPolygon(struct Video* v, uint8_t color, uint16_t zoom, const Point &pt) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:124:78: warning: type defaults to 'int' in declaration of 'Point'
- void video_fillPolygon(struct Video* v, uint16_t color, uint16_t zoom, const Point &pt) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:124:84: error: expected ';', ',' or ')' before '&' token
- void video_fillPolygon(struct Video* v, uint16_t color, uint16_t zoom, const Point &pt) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:225:78: warning: type defaults to 'int' in declaration of 'Point'
- void video_readAndDrawPolygonHierarchy(struct Video* v, uint16_t zoom, const Point &pgc) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:225:84: error: expected ';', ',' or ')' before '&' token
- void video_readAndDrawPolygonHierarchy(struct Video* v, uint16_t zoom, const Point &pgc) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:264:47: warning: type defaults to 'int' in declaration of 'Point'
- int32_t video_calcStep(struct Video* v, const Point &p1, const Point &p2, uint16_t &dy) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:264:53: error: expected ';', ',' or ')' before '&' token
- int32_t video_calcStep(struct Video* v, const Point &p1, const Point &p2, uint16_t &dy) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c: In function 'video_drawString':
- /home/franklin/rockbox/apps/plugins/xworld/video.c:271:11: error: unknown type name 'StrEntry'
- const StrEntry *se = _stringsTableEng;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:271:26: error: '_stringsTableEng' undeclared (first use in this function)
- const StrEntry *se = _stringsTableEng;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:274:14: error: request for member 'id' in something not a structure or union
- while (se->id != END_OF_STRING_DICTIONARY && se->id != stringId)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:274:34: error: request for member 'id' in something not a structure or union
- while (se->id != END_OF_STRING_DICTIONARY && se->id != stringId)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:277:69: error: request for member 'str' in something not a structure or union
- debug(DBG_VIDEO, "drawString(%d, %d, %d, '%s')", color, x, y, se->str);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:280:11: error: request for member 'id' in something not a structure or union
- if (se->id == END_OF_STRING_DICTIONARY)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:286:24: error: request for member 'str' in something not a structure or union
- int len = strlen(se->str);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:289:15: error: request for member 'str' in something not a structure or union
- if (se->str[i] == '\n') {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:295:9: warning: implicit declaration of function 'drawChar' [-Wimplicit-function-declaration]
- drawChar(se->str[i], x, y, color, _curPagePtr1);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:295:20: error: request for member 'str' in something not a structure or union
- drawChar(se->str[i], x, y, color, _curPagePtr1);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:295:43: error: '_curPagePtr1' undeclared (first use in this function)
- drawChar(se->str[i], x, y, color, _curPagePtr1);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:269:37: warning: unused parameter 'v' [-Wunused-parameter]
- void video_drawString(struct Video* v, uint8_t color, uint16_t x, uint16_t y, uint16_t stringId) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c: In function 'video_drawChar':
- /home/franklin/rockbox/apps/plugins/xworld/video.c:304:29: error: '_font' undeclared (first use in this function)
- const uint8_t *ft = _font + (character - ' ') * 8;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:301:35: warning: unused parameter 'v' [-Wunused-parameter]
- void video_drawChar(struct Video* v, uint8_t character, uint16_t x, uint16_t y, uint8_t color, uint8_t *buf) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c: In function 'video_drawPoint':
- /home/franklin/rockbox/apps/plugins/xworld/video.c:351:22: error: '_pagePtrs' undeclared (first use in this function)
- colb = *(_pagePtrs[0] + off);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:353:23: error: '_curPagePtr1' undeclared (first use in this function)
- uint8_t b = *(_curPagePtr1 + off);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:331:36: warning: unused parameter 'v' [-Wunused-parameter]
- void video_drawPoint(struct Video* v, uint8_t color, int16_t x, int16_t y) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c: In function 'video_drawLineBlend':
- /home/franklin/rockbox/apps/plugins/xworld/video.c:364:18: error: '_curPagePtr1' undeclared (first use in this function)
- uint8_t *p = _curPagePtr1 + _hliney * 160 + xmin / 2;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:364:33: error: '_hliney' undeclared (first use in this function)
- uint8_t *p = _curPagePtr1 + _hliney * 160 + xmin / 2;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:360:40: warning: unused parameter 'v' [-Wunused-parameter]
- void video_drawLineBlend(struct Video* v, int16_t x1, int16_t x2, uint8_t color) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c: In function 'video_drawLineN':
- /home/franklin/rockbox/apps/plugins/xworld/video.c:398:18: error: '_curPagePtr1' undeclared (first use in this function)
- uint8_t *p = _curPagePtr1 + _hliney * 160 + xmin / 2;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:398:33: error: '_hliney' undeclared (first use in this function)
- uint8_t *p = _curPagePtr1 + _hliney * 160 + xmin / 2;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:394:36: warning: unused parameter 'v' [-Wunused-parameter]
- void video_drawLineN(struct Video* v, int16_t x1, int16_t x2, uint8_t color) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c: In function 'video_drawLineP':
- /home/franklin/rockbox/apps/plugins/xworld/video.c:432:20: error: '_hliney' undeclared (first use in this function)
- uint16_t off = _hliney * 160 + xmin / 2;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:433:18: error: '_curPagePtr1' undeclared (first use in this function)
- uint8_t *p = _curPagePtr1 + off;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:434:18: error: '_pagePtrs' undeclared (first use in this function)
- uint8_t *q = _pagePtrs[0] + off;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:428:36: warning: unused parameter 'v' [-Wunused-parameter]
- void video_drawLineP(struct Video* v, int16_t x1, int16_t x2, uint8_t color) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c: In function 'video_getPagePtr':
- /home/franklin/rockbox/apps/plugins/xworld/video.c:467:13: error: '_pagePtrs' undeclared (first use in this function)
- p = _pagePtrs[page];
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:471:17: error: '_curPagePtr3' undeclared (first use in this function)
- p = _curPagePtr3;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:474:17: error: '_curPagePtr2' undeclared (first use in this function)
- p = _curPagePtr2;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:464:41: warning: unused parameter 'v' [-Wunused-parameter]
- uint8_t *video_getPagePtr(struct Video* v, uint8_t page) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c: In function 'video_changePagePtr1':
- /home/franklin/rockbox/apps/plugins/xworld/video.c:489:5: error: '_curPagePtr1' undeclared (first use in this function)
- _curPagePtr1 = getPagePtr(page);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:487:41: warning: unused parameter 'v' [-Wunused-parameter]
- void video_changePagePtr1(struct Video* v, uint8_t page) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c: In function 'video_fillPage':
- /home/franklin/rockbox/apps/plugins/xworld/video.c:496:18: warning: initialization makes pointer from integer without a cast
- uint8_t *p = getPagePtr(pageId);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:503:18: error: 'VID_PAGE_SIZE' undeclared (first use in this function)
- memset(p, c, VID_PAGE_SIZE);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:494:35: warning: unused parameter 'v' [-Wunused-parameter]
- void video_fillPage(struct Video* v, uint8_t pageId, uint8_t color) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c: In function 'video_copyPage':
- /home/franklin/rockbox/apps/plugins/xworld/video.c:543:11: warning: assignment makes pointer from integer without a cast
- p = getPagePtr(srcPageId);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:544:11: warning: assignment makes pointer from integer without a cast
- q = getPagePtr(dstPageId);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:545:22: error: 'VID_PAGE_SIZE' undeclared (first use in this function)
- memcpy(q, p, VID_PAGE_SIZE);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:548:11: warning: assignment makes pointer from integer without a cast
- p = getPagePtr(srcPageId & 3);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:549:11: warning: assignment makes pointer from integer without a cast
- q = getPagePtr(dstPageId);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:532:35: warning: unused parameter 'v' [-Wunused-parameter]
- void video_copyPage(struct Video* v, uint8_t srcPageId, uint8_t dstPageId, int16_t vscroll) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c: In function 'video_copyPagePtr':
- /home/franklin/rockbox/apps/plugins/xworld/video.c:577:20: error: '_pagePtrs' undeclared (first use in this function)
- uint8_t *dst = _pagePtrs[0];
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:575:38: warning: unused parameter 'v' [-Wunused-parameter]
- void video_copyPagePtr(struct Video* v, const uint8_t *src) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c: In function 'video_changePal':
- /home/franklin/rockbox/apps/plugins/xworld/video.c:629:18: error: 'res' undeclared (first use in this function)
- uint8_t *p = res->segPalettes + palNum * 32; //colors are coded on 2bytes (565) for 16 colors = 32
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:645:5: error: 'sys' undeclared (first use in this function)
- sys->setPalette(0, NUM_COLORS, pal);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:646:5: error: 'currentPaletteId' undeclared (first use in this function)
- currentPaletteId = palNum;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:624:36: warning: unused parameter 'v' [-Wunused-parameter]
- void video_changePal(struct Video* v, uint8_t palNum) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c: In function 'video_updateDisplay':
- /home/franklin/rockbox/apps/plugins/xworld/video.c:671:27: error: '_curPagePtr3' undeclared (first use in this function)
- uint8_t* temp=_curPagePtr3;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:672:26: error: '_curPagePtr2' undeclared (first use in this function)
- _curPagePtr3=_curPagePtr2;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:680:9: error: 'paletteIdRequested' undeclared (first use in this function)
- if (paletteIdRequested != NO_PALETTE_CHANGE_REQUESTED) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:681:9: warning: implicit declaration of function 'changePal' [-Wimplicit-function-declaration]
- changePal(paletteIdRequested);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:688:5: error: 'sys' undeclared (first use in this function)
- sys->copyRect(0, 0, 320, 200, _curPagePtr2, 160);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c:664:40: warning: unused parameter 'v' [-Wunused-parameter]
- void video_updateDisplay(struct Video* v, uint8_t pageId) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/video.c:695:40: error: unknown type name 'Serializer'
- void video_saveOrLoad(struct Video* v, Serializer &ser) {
- ^
- make: *** [/home/franklin/rockbox/build_sim/apps/plugins/xworld/video.o] Error 1
- In file included from /usr/include/stdlib.h:42:0,
- from /home/franklin/rockbox/apps/plugin.h:35,
- from /home/franklin/rockbox/apps/plugins/xworld/sys.c:1:
- /usr/include/bits/waitstatus.h:79:15: error: duplicate member '__w_retcode'
- unsigned int __w_retcode:8;
- ^
- /usr/include/bits/waitstatus.h:80:15: error: duplicate member '__w_coredump'
- unsigned int __w_coredump:1;
- ^
- /usr/include/bits/waitstatus.h:81:15: error: duplicate member '__w_termsig'
- unsigned int __w_termsig:7;
- ^
- /usr/include/bits/waitstatus.h:93:15: error: duplicate member '__w_stopsig'
- unsigned int __w_stopsig:8; /* Stopping signal. */
- ^
- /usr/include/bits/waitstatus.h:94:15: error: duplicate member '__w_stopval'
- unsigned int __w_stopval:8; /* W_STOPPED if stopped. */
- ^
- In file included from /home/franklin/rockbox/firmware/export/system.h:203:0,
- from /home/franklin/rockbox/apps/plugin.h:55,
- from /home/franklin/rockbox/apps/plugins/xworld/sys.c:1:
- /home/franklin/rockbox/firmware/include/rbendian.h:92:4: error: #error "Missing OS swap defines."
- #error "Missing OS swap defines."
- ^
- /home/franklin/rockbox/firmware/include/rbendian.h: In function 'swap16_hw':
- /home/franklin/rockbox/firmware/include/rbendian.h:97:3: warning: implicit declaration of function '__swap16_os' [-Wimplicit-function-declaration]
- { return __swap16_os(x); }
- ^
- /home/franklin/rockbox/firmware/include/rbendian.h: In function 'swap32_hw':
- /home/franklin/rockbox/firmware/include/rbendian.h:99:3: warning: implicit declaration of function '__swap32_os' [-Wimplicit-function-declaration]
- { return __swap32_os(x); }
- ^
- /home/franklin/rockbox/firmware/include/rbendian.h: In function 'swap64_hw':
- /home/franklin/rockbox/firmware/include/rbendian.h:101:3: warning: implicit declaration of function '__swap64_os' [-Wimplicit-function-declaration]
- { return __swap64_os(x); }
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/file.h:22:0,
- from /home/franklin/rockbox/firmware/export/scroll_engine.h:30,
- from /home/franklin/rockbox/apps/screen_access.h:27,
- from /home/franklin/rockbox/apps/gui/viewport.h:29,
- from /home/franklin/rockbox/apps/action.h:25,
- from /home/franklin/rockbox/apps/plugin.h:61,
- from /home/franklin/rockbox/apps/plugins/xworld/sys.c:1:
- /home/franklin/rockbox/apps/plugins/xworld/intern.h: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:29:0: warning: "MAX" redefined
- #define MAX(x,y) ((x)>(y)?(x):(y))
- ^
- In file included from /home/franklin/rockbox/apps/plugin.h:55:0,
- from /home/franklin/rockbox/apps/plugins/xworld/sys.c:1:
- /home/franklin/rockbox/firmware/export/system.h:101:0: note: this is the location of the previous definition
- #define MAX(a, b) (((a)>(b))?(a):(b))
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/file.h:22:0,
- from /home/franklin/rockbox/firmware/export/scroll_engine.h:30,
- from /home/franklin/rockbox/apps/screen_access.h:27,
- from /home/franklin/rockbox/apps/gui/viewport.h:29,
- from /home/franklin/rockbox/apps/action.h:25,
- from /home/franklin/rockbox/apps/plugin.h:61,
- from /home/franklin/rockbox/apps/plugins/xworld/sys.c:1:
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:30:0: warning: "MIN" redefined
- #define MIN(x,y) ((x)<(y)?(x):(y))
- ^
- In file included from /home/franklin/rockbox/apps/plugin.h:55:0,
- from /home/franklin/rockbox/apps/plugins/xworld/sys.c:1:
- /home/franklin/rockbox/firmware/export/system.h:97:0: note: this is the location of the previous definition
- #define MIN(a, b) (((a)<(b))?(a):(b))
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/file.h:22:0,
- from /home/franklin/rockbox/firmware/export/scroll_engine.h:30,
- from /home/franklin/rockbox/apps/screen_access.h:27,
- from /home/franklin/rockbox/apps/gui/viewport.h:29,
- from /home/franklin/rockbox/apps/action.h:25,
- from /home/franklin/rockbox/apps/plugin.h:61,
- from /home/franklin/rockbox/apps/plugins/xworld/sys.c:1:
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:38:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
- templete<typename T>
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h: In function 'scriptPtr_fetchWord':
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: error: 'b' undeclared (first use in this function)
- uint16_t i = READ_BE_UINT16(b->pc);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: note: each undeclared identifier is reported only once for each function it appears in
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:53:49: warning: unused parameter 'p' [-Wunused-parameter]
- inline uint16_t scriptPtr_fetchWord(struct Ptr* p) {
- ^
- In file included from /home/franklin/rockbox/firmware/export/scroll_engine.h:30:0,
- from /home/franklin/rockbox/apps/screen_access.h:27,
- from /home/franklin/rockbox/apps/gui/viewport.h:29,
- from /home/franklin/rockbox/apps/action.h:25,
- from /home/franklin/rockbox/apps/plugin.h:61,
- from /home/franklin/rockbox/apps/plugins/xworld/sys.c:1:
- /home/franklin/rockbox/apps/plugins/xworld/file.h: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/file.h:29:2: error: expected specifier-qualifier-list before 'File'
- File(bool gzipped = false);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:3:22: warning: 'struct System' declared inside parameter list
- void sys_init(struct System* sys, const char* title)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:3:22: warning: its scope is only this definition or declaration, which is probably not what you want
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: In function 'sys_init':
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:7:16: error: dereferencing pointer to incomplete type
- memset(&sys->input, 0, sizeof(input));
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:7:35: error: 'input' undeclared (first use in this function)
- memset(&sys->input, 0, sizeof(input));
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:6:12: warning: unused variable 'y' [-Wunused-variable]
- int x, y;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:6:9: warning: unused variable 'x' [-Wunused-variable]
- int x, y;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:9:25: warning: 'struct System' declared inside parameter list
- void sys_destroy(struct System* sys)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: In function 'sys_destroy':
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:9:33: warning: unused parameter 'sys' [-Wunused-parameter]
- void sys_destroy(struct System* sys)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:13:28: warning: 'struct System' declared inside parameter list
- void sys_setPallete(struct System* sys, uint8_t start, uint8_t n, const uint8_t *buf)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: In function 'sys_setPallete':
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:22:9: error: 'pallete' undeclared (first use in this function)
- pallete[i]=LCD_RGBPACK(c[0],c[1],c[2]);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:13:36: warning: unused parameter 'sys' [-Wunused-parameter]
- void sys_setPallete(struct System* sys, uint8_t start, uint8_t n, const uint8_t *buf)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:25:26: warning: 'struct System' declared inside parameter list
- void sys_copyRect(struct System* sys, uint16_t x, uint16_t y, uint16_t w, uint16_t h, const uint8_t *buf, uint32_t pitch)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: In function 'sys_copyRect':
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:28:12: error: 'height' undeclared (first use in this function)
- while (height--) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:30:29: error: 'width' undeclared (first use in this function)
- for (int i = 0; i < width / 2; ++i) {
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:33:39: error: dereferencing pointer to incomplete type
- rb->lcd_set_foreground(sys->pallete[pix1]);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:35:39: error: dereferencing pointer to incomplete type
- rb->lcd_set_foreground(sys->pallete[pix2]);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:32:21: warning: variable 'pix2' set but not used [-Wunused-but-set-variable]
- uint8_t pix2=*(buf+i)&0xF;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:31:21: warning: variable 'pix1' set but not used [-Wunused-but-set-variable]
- uint8_t pix1=*(buf+i)>>4;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:38:9: error: 'p' undeclared (first use in this function)
- p += SCREEN_W;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:38:14: error: 'SCREEN_W' undeclared (first use in this function)
- p += SCREEN_W;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:25:72: warning: unused parameter 'w' [-Wunused-parameter]
- void sys_copyRect(struct System* sys, uint16_t x, uint16_t y, uint16_t w, uint16_t h, const uint8_t *buf, uint32_t pitch)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:25:84: warning: unused parameter 'h' [-Wunused-parameter]
- void sys_copyRect(struct System* sys, uint16_t x, uint16_t y, uint16_t w, uint16_t h, const uint8_t *buf, uint32_t pitch)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:44:31: warning: 'struct System' declared inside parameter list
- void sys_processEvents(struct System* sys)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: In function 'sys_processEvents':
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:44:39: warning: unused parameter 'sys' [-Wunused-parameter]
- void sys_processEvents(struct System* sys)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:47:23: warning: 'struct System' declared inside parameter list
- void sys_sleep(struct System* sys, int32_t duration)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:52:34: warning: 'struct System' declared inside parameter list
- uint32_t sys_getTimeStamp(struct System* sys)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:58:41: error: unknown type name 'AudioCallback'
- void sys_startAudio(struct System* sys, AudioCallback callback, void *param)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:61:27: warning: 'struct System' declared inside parameter list
- void sys_stopAudio(struct System* sys)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: In function 'sys_stopAudio':
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:61:35: warning: unused parameter 'sys' [-Wunused-parameter]
- void sys_stopAudio(struct System* sys)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:64:41: warning: 'struct System' declared inside parameter list
- uint32_t sys_getOutputSampleRate(struct System* sys)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: In function 'sys_getOutputSampleRate':
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:64:49: warning: unused parameter 'sys' [-Wunused-parameter]
- uint32_t sys_getOutputSampleRate(struct System* sys)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:69:56: error: unknown type name 'TimerCallback'
- void *sys_addTimer(struct System* sys, uint32_t delay, TimerCallback callback, void *param)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:72:29: warning: 'struct System' declared inside parameter list
- void sys_removeTimer(struct System* sys, void *timerId)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: In function 'sys_removeTimer':
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:72:37: warning: unused parameter 'sys' [-Wunused-parameter]
- void sys_removeTimer(struct System* sys, void *timerId)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:72:48: warning: unused parameter 'timerId' [-Wunused-parameter]
- void sys_removeTimer(struct System* sys, void *timerId)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:76:30: warning: 'struct System' declared inside parameter list
- void *sys_createMutex(struct System* sys)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: In function 'sys_createMutex':
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:76:38: warning: unused parameter 'sys' [-Wunused-parameter]
- void *sys_createMutex(struct System* sys)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:79:30: warning: 'struct System' declared inside parameter list
- void sys_destroyMutex(struct System* sys, void *mutex)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: In function 'sys_destroyMutex':
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:79:38: warning: unused parameter 'sys' [-Wunused-parameter]
- void sys_destroyMutex(struct System* sys, void *mutex)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:79:49: warning: unused parameter 'mutex' [-Wunused-parameter]
- void sys_destroyMutex(struct System* sys, void *mutex)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:82:27: warning: 'struct System' declared inside parameter list
- void sys_lockMutex(struct System* sys, void *mutex)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: In function 'sys_lockMutex':
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:82:35: warning: unused parameter 'sys' [-Wunused-parameter]
- void sys_lockMutex(struct System* sys, void *mutex)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:82:46: warning: unused parameter 'mutex' [-Wunused-parameter]
- void sys_lockMutex(struct System* sys, void *mutex)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:85:29: warning: 'struct System' declared inside parameter list
- void sys_unlockMutex(struct System* sys, void *mutex)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: In function 'sys_unlockMutex':
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:85:37: warning: unused parameter 'sys' [-Wunused-parameter]
- void sys_unlockMutex(struct System* sys, void *mutex)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:85:48: warning: unused parameter 'mutex' [-Wunused-parameter]
- void sys_unlockMutex(struct System* sys, void *mutex)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:89:41: warning: 'struct System' declared inside parameter list
- uint8_t* getOffScreenFramebuffer(struct System* sys)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: In function 'getOffScreenFramebuffer':
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:89:49: warning: unused parameter 'sys' [-Wunused-parameter]
- uint8_t* getOffScreenFramebuffer(struct System* sys)
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sys.c: In function 'sys_createMutex':
- /home/franklin/rockbox/apps/plugins/xworld/sys.c:78:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- make: *** [/home/franklin/rockbox/build_sim/apps/plugins/xworld/sys.o] Error 1
- In file included from /usr/include/stdlib.h:42:0,
- from /home/franklin/rockbox/apps/plugin.h:35,
- from /home/franklin/rockbox/apps/plugins/xworld/xworld.c:19:
- /usr/include/bits/waitstatus.h:79:15: error: duplicate member '__w_retcode'
- unsigned int __w_retcode:8;
- ^
- /usr/include/bits/waitstatus.h:80:15: error: duplicate member '__w_coredump'
- unsigned int __w_coredump:1;
- ^
- /usr/include/bits/waitstatus.h:81:15: error: duplicate member '__w_termsig'
- unsigned int __w_termsig:7;
- ^
- /usr/include/bits/waitstatus.h:93:15: error: duplicate member '__w_stopsig'
- unsigned int __w_stopsig:8; /* Stopping signal. */
- ^
- /usr/include/bits/waitstatus.h:94:15: error: duplicate member '__w_stopval'
- unsigned int __w_stopval:8; /* W_STOPPED if stopped. */
- ^
- In file included from /home/franklin/rockbox/firmware/export/system.h:203:0,
- from /home/franklin/rockbox/apps/plugin.h:55,
- from /home/franklin/rockbox/apps/plugins/xworld/xworld.c:19:
- /home/franklin/rockbox/firmware/include/rbendian.h:92:4: error: #error "Missing OS swap defines."
- #error "Missing OS swap defines."
- ^
- /home/franklin/rockbox/firmware/include/rbendian.h: In function 'swap16_hw':
- /home/franklin/rockbox/firmware/include/rbendian.h:97:3: warning: implicit declaration of function '__swap16_os' [-Wimplicit-function-declaration]
- { return __swap16_os(x); }
- ^
- /home/franklin/rockbox/firmware/include/rbendian.h: In function 'swap32_hw':
- /home/franklin/rockbox/firmware/include/rbendian.h:99:3: warning: implicit declaration of function '__swap32_os' [-Wimplicit-function-declaration]
- { return __swap32_os(x); }
- ^
- /home/franklin/rockbox/firmware/include/rbendian.h: In function 'swap64_hw':
- /home/franklin/rockbox/firmware/include/rbendian.h:101:3: warning: implicit declaration of function '__swap64_os' [-Wimplicit-function-declaration]
- { return __swap64_os(x); }
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/file.h:22:0,
- from /home/franklin/rockbox/firmware/export/scroll_engine.h:30,
- from /home/franklin/rockbox/apps/screen_access.h:27,
- from /home/franklin/rockbox/apps/gui/viewport.h:29,
- from /home/franklin/rockbox/apps/action.h:25,
- from /home/franklin/rockbox/apps/plugin.h:61,
- from /home/franklin/rockbox/apps/plugins/xworld/xworld.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/intern.h: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:29:0: warning: "MAX" redefined
- #define MAX(x,y) ((x)>(y)?(x):(y))
- ^
- In file included from /home/franklin/rockbox/apps/plugin.h:55:0,
- from /home/franklin/rockbox/apps/plugins/xworld/xworld.c:19:
- /home/franklin/rockbox/firmware/export/system.h:101:0: note: this is the location of the previous definition
- #define MAX(a, b) (((a)>(b))?(a):(b))
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/file.h:22:0,
- from /home/franklin/rockbox/firmware/export/scroll_engine.h:30,
- from /home/franklin/rockbox/apps/screen_access.h:27,
- from /home/franklin/rockbox/apps/gui/viewport.h:29,
- from /home/franklin/rockbox/apps/action.h:25,
- from /home/franklin/rockbox/apps/plugin.h:61,
- from /home/franklin/rockbox/apps/plugins/xworld/xworld.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:30:0: warning: "MIN" redefined
- #define MIN(x,y) ((x)<(y)?(x):(y))
- ^
- In file included from /home/franklin/rockbox/apps/plugin.h:55:0,
- from /home/franklin/rockbox/apps/plugins/xworld/xworld.c:19:
- /home/franklin/rockbox/firmware/export/system.h:97:0: note: this is the location of the previous definition
- #define MIN(a, b) (((a)<(b))?(a):(b))
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/file.h:22:0,
- from /home/franklin/rockbox/firmware/export/scroll_engine.h:30,
- from /home/franklin/rockbox/apps/screen_access.h:27,
- from /home/franklin/rockbox/apps/gui/viewport.h:29,
- from /home/franklin/rockbox/apps/action.h:25,
- from /home/franklin/rockbox/apps/plugin.h:61,
- from /home/franklin/rockbox/apps/plugins/xworld/xworld.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:38:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
- templete<typename T>
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h: In function 'scriptPtr_fetchWord':
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: error: 'b' undeclared (first use in this function)
- uint16_t i = READ_BE_UINT16(b->pc);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:54:33: note: each undeclared identifier is reported only once for each function it appears in
- /home/franklin/rockbox/apps/plugins/xworld/intern.h:53:49: warning: unused parameter 'p' [-Wunused-parameter]
- inline uint16_t scriptPtr_fetchWord(struct Ptr* p) {
- ^
- In file included from /home/franklin/rockbox/firmware/export/scroll_engine.h:30:0,
- from /home/franklin/rockbox/apps/screen_access.h:27,
- from /home/franklin/rockbox/apps/gui/viewport.h:29,
- from /home/franklin/rockbox/apps/action.h:25,
- from /home/franklin/rockbox/apps/plugin.h:61,
- from /home/franklin/rockbox/apps/plugins/xworld/xworld.c:19:
- /home/franklin/rockbox/apps/plugins/xworld/file.h: At top level:
- /home/franklin/rockbox/apps/plugins/xworld/file.h:29:2: error: expected specifier-qualifier-list before 'File'
- File(bool gzipped = false);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/engine.h:23:0,
- from /home/franklin/rockbox/apps/plugins/xworld/xworld.c:20:
- /home/franklin/rockbox/apps/plugins/xworld/vm.h:70:5: error: expected specifier-qualifier-list before 'typedef'
- typedef void (VirtualMachine::*OpcodeStub)();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/vm.h:114:29: error: expected ')' before '*' token
- struct VirtualMachine(Mixer *mix, Resource *res, SfxPlayer *ply, Video *vid, System *stub);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/vm.h:157:44: error: unknown type name 'Serializer'
- void vm_saveOrLoad(struct VirtualMachine*, Serializer &ser);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/engine.h:24:0,
- from /home/franklin/rockbox/apps/plugins/xworld/xworld.c:20:
- /home/franklin/rockbox/apps/plugins/xworld/mixer.h:34:2: error: unknown type name 'MixerChunk'
- MixerChunk chunk;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.h:48:2: error: unknown type name 'System'
- System *sys;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.h:53:2: error: unknown type name 'MixerChannel'
- MixerChannel _channels[AUDIO_NUM_CHANNELS];
- ^
- /home/franklin/rockbox/apps/plugins/xworld/mixer.h:55:2: error: expected specifier-qualifier-list before 'Mixer'
- Mixer(System *stub);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/engine.h:25:0,
- from /home/franklin/rockbox/apps/plugins/xworld/xworld.c:20:
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.h:35:2: error: unknown type name 'SfxInstrument'
- SfxInstrument samples[15];
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.h:56:2: error: unknown type name 'Mixer'
- Mixer *mixer;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.h:57:2: error: unknown type name 'Resource'
- Resource *res;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.h:58:2: error: unknown type name 'System'
- System *sys;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.h:64:2: error: unknown type name 'SfxModule'
- SfxModule _sfxMod;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/sfxplayer.h:67:2: error: expected specifier-qualifier-list before 'SfxPlayer'
- SfxPlayer(Mixer *mix, Resource *res, System *stub);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/engine.h:26:0,
- from /home/franklin/rockbox/apps/plugins/xworld/xworld.c:20:
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:74:5: error: unknown type name 'Video'
- Video *video;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:90:10: error: unknown type name 'Video'
- Resource(Video *vid, const char *dataDir);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:93:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void readEntries();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:94:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void loadMarkedAsNeeded();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:95:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void invalidateAll();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:96:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void invalidateRes();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:99:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void allocMemBlock();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:100:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- void freeMemBlock();
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:102:28: error: expected ')' before '&' token
- void saveOrLoad(Serializer &ser);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/resource.h:104:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
- const char* getDataDir();
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/engine.h:27:0,
- from /home/franklin/rockbox/apps/plugins/xworld/xworld.c:20:
- /home/franklin/rockbox/apps/plugins/xworld/video.h:51:5: error: expected specifier-qualifier-list before 'typedef'
- typedef void (Video::*drawLine)(int16_t x1, int16_t x2, uint8_t col);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:92:84: warning: type defaults to 'int' in declaration of 'Point'
- void video_readAndDrawPolygon(struct Video* v, uint8_t color, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:92:90: error: expected ';', ',' or ')' before '&' token
- void video_readAndDrawPolygon(struct Video* v, uint8_t color, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:93:78: warning: type defaults to 'int' in declaration of 'Point'
- void video_fillPolygon(struct Video* v, uint16_t color, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:93:84: error: expected ';', ',' or ')' before '&' token
- void video_fillPolygon(struct Video* v, uint16_t color, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:94:78: warning: type defaults to 'int' in declaration of 'Point'
- void video_readAndDrawPolygonHierarchy(struct Video* v, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:94:84: error: expected ';', ',' or ')' before '&' token
- void video_readAndDrawPolygonHierarchy(struct Video* v, uint16_t zoom, const Point &pt);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:95:47: warning: type defaults to 'int' in declaration of 'Point'
- int32_t video_calcStep(struct Video* v, const Point &p1, const Point &p2, uint16_t &dy);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:95:53: error: expected ';', ',' or ')' before '&' token
- int32_t video_calcStep(struct Video* v, const Point &p1, const Point &p2, uint16_t &dy);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/video.h:112:40: error: unknown type name 'Serializer'
- void video_saveOrLoad(struct Video* v, Serializer &ser);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/xworld.c:20:0:
- /home/franklin/rockbox/apps/plugins/xworld/engine.h:34:5: error: unknown type name 'System'
- System *sys;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.h:35:5: error: unknown type name 'VirtualMachine'
- VirtualMachine vm;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.h:37:5: error: unknown type name 'Resource'
- Resource res;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.h:39:5: error: unknown type name 'Video'
- Video video;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/engine.h:45:8: error: unknown type name 'System'
- Engine(System *stub, const char *dataDir, const char *saveDir);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/xworld.c: In function 'plugin_start':
- /home/franklin/rockbox/apps/plugins/xworld/xworld.c:39:5: error: unknown type name 'Engine'
- Engine e;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/xworld.c:40:5: error: unknown type name 'System'
- System sys;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/xworld.c:41:19: warning: passing argument 1 of 'engine_create' from incompatible pointer type
- engine_create(&sys, &e, dataPath, savePath);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/xworld.c:20:0:
- /home/franklin/rockbox/apps/plugins/xworld/engine.h:47:6: note: expected 'struct System *' but argument is of type 'int *'
- void engine_create(struct System* stub, struct Engine*, const char* dataDir, const char* saveDir);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/xworld.c:41:25: warning: passing argument 2 of 'engine_create' from incompatible pointer type
- engine_create(&sys, &e, dataPath, savePath);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/xworld.c:20:0:
- /home/franklin/rockbox/apps/plugins/xworld/engine.h:47:6: note: expected 'struct Engine *' but argument is of type 'int *'
- void engine_create(struct System* stub, struct Engine*, const char* dataDir, const char* saveDir);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/xworld.c:42:17: warning: passing argument 1 of 'engine_init' from incompatible pointer type
- engine_init(&e);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/xworld.c:20:0:
- /home/franklin/rockbox/apps/plugins/xworld/engine.h:50:6: note: expected 'struct Engine *' but argument is of type 'int *'
- void engine_init(struct Engine*);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/xworld.c:43:16: warning: passing argument 1 of 'engine_run' from incompatible pointer type
- engine_run(&e);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/xworld.c:20:0:
- /home/franklin/rockbox/apps/plugins/xworld/engine.h:49:6: note: expected 'struct Engine *' but argument is of type 'int *'
- void engine_run(struct Engine*);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/xworld.c:44:19: warning: passing argument 1 of 'engine_finish' from incompatible pointer type
- engine_finish(&e);
- ^
- In file included from /home/franklin/rockbox/apps/plugins/xworld/xworld.c:20:0:
- /home/franklin/rockbox/apps/plugins/xworld/engine.h:51:6: note: expected 'struct Engine *' but argument is of type 'int *'
- void engine_finish(struct Engine*);
- ^
- /home/franklin/rockbox/apps/plugins/xworld/xworld.c:31:10: warning: unused variable 'quit' [-Wunused-variable]
- bool quit = false;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/xworld.c:30:9: warning: unused variable 'status' [-Wunused-variable]
- int status = PLUGIN_OK;
- ^
- /home/franklin/rockbox/apps/plugins/xworld/xworld.c:25:45: warning: unused parameter 'parameter' [-Wunused-parameter]
- enum plugin_status plugin_start(const void* parameter)
- ^
- make: *** [/home/franklin/rockbox/build_sim/apps/plugins/xworld/xworld.o] Error 1
- make: *** [/home/franklin/rockbox/build_sim/apps/plugins/rockboy/cpu.o] Interrupt
- make: *** [/home/franklin/rockbox/build_sim/apps/plugins/rockboy/lcd.o] Interrupt
- make: *** [/home/franklin/rockbox/build_sim/apps/plugins/rockboy/lcdc.o] Interrupt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement