Guest User

Untitled

a guest
Aug 21st, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. Compiling src/mess/tools/imgtool/modules/psion.c...
  2. src/mess/tools/imgtool/modules/psion.c:414:15: error: read-only variable is not assignable
  3. pack_head[0] |= (option_resolution_lookup_int(opts, 'R')) ? 0x00 : 0x02;
  4. ~~~~~~~~~~~~ ^
  5. src/mess/tools/imgtool/modules/psion.c:415:15: error: read-only variable is not assignable
  6. pack_head[0] |= (option_resolution_lookup_int(opts, 'P')) ? 0x04 : 0x00;
  7. ~~~~~~~~~~~~ ^
  8. src/mess/tools/imgtool/modules/psion.c:416:15: error: read-only variable is not assignable
  9. pack_head[0] |= (option_resolution_lookup_int(opts, 'W')) ? 0x00 : 0x08;
  10. ~~~~~~~~~~~~ ^
  11. src/mess/tools/imgtool/modules/psion.c:417:15: error: read-only variable is not assignable
  12. pack_head[0] |= (option_resolution_lookup_int(opts, 'B')) ? 0x00 : 0x10;
  13. ~~~~~~~~~~~~ ^
  14. src/mess/tools/imgtool/modules/psion.c:418:15: error: read-only variable is not assignable
  15. pack_head[0] |= (option_resolution_lookup_int(opts, 'C')) ? 0x20 : 0x00;
  16. ~~~~~~~~~~~~ ^
  17. src/mess/tools/imgtool/modules/psion.c:419:15: error: read-only variable is not assignable
  18. pack_head[1] = option_resolution_lookup_int(opts, 'S');
  19. ~~~~~~~~~~~~ ^
  20. src/mess/tools/imgtool/modules/psion.c:421:13: error: no matching function for call to 'head_checksum'
  21. checksum = head_checksum(pack_head);
  22. ^~~~~~~~~~~~~
  23. src/mess/tools/imgtool/modules/psion.c:50:8: note: candidate function not viable: no known conversion from 'const UINT8 [8]' to 'UINT8 *' (aka 'unsigned char *') for 1st argument
  24. UINT16 head_checksum(UINT8* data)
  25. ^
  26. 7 errors generated.
Add Comment
Please, Sign In to add comment