TASEmulators / fceu

Automatically exported from code.google.com/p/fceu
3 stars 1 forks source link

error: request for member 'have' in something not a structure or union #75

Closed RodrigoDornelles closed 7 months ago

RodrigoDornelles commented 7 months ago
In file included from file.c:26:
file.c: In function 'MakeMemWrap':
file.c:157:20: error: request for member 'have' in something not a structure or union
  157 |   for(tmp->size=0; gzgetc(tz) != EOF; tmp->size++);
      |                    ^~~~~~
file.c:157:20: error: request for member 'have' in something not a structure or union
  157 |   for(tmp->size=0; gzgetc(tz) != EOF; tmp->size++);
      |                    ^~~~~~
file.c:157:20: error: request for member 'pos' in something not a structure or union
  157 |   for(tmp->size=0; gzgetc(tz) != EOF; tmp->size++);
      |                    ^~~~~~
file.c:157:20: error: request for member 'next' in something not a structure or union
  157 |   for(tmp->size=0; gzgetc(tz) != EOF; tmp->size++);
      |                    ^~~~~~
file.c: In function 'FCEU_fgetc':
file.c:532:10: error: request for member 'have' in something not a structure or union
  532 |   return gzgetc(fp->fp);
      |          ^~~~~~
file.c:532:10: error: request for member 'have' in something not a structure or union
  532 |   return gzgetc(fp->fp);
      |          ^~~~~~
file.c:532:10: error: request for member 'pos' in something not a structure or union
  532 |   return gzgetc(fp->fp);
      |          ^~~~~~
file.c:532:10: error: request for member 'next' in something not a structure or union
  532 |   return gzgetc(fp->fp);
      |          ^~~~~~
file.c: In function 'FCEU_fgetsize':
file.c:552:12: error: request for member 'have' in something not a structure or union
  552 |   for(x=0; gzgetc(fp->fp) != EOF; x++);
      |            ^~~~~~
file.c:552:12: error: request for member 'have' in something not a structure or union
  552 |   for(x=0; gzgetc(fp->fp) != EOF; x++);
      |            ^~~~~~
file.c:552:12: error: request for member 'pos' in something not a structure or union
  552 |   for(x=0; gzgetc(fp->fp) != EOF; x++);
      |            ^~~~~~
file.c:552:12: error: request for member 'next' in something not a structure or union
  552 |   for(x=0; gzgetc(fp->fp) != EOF; x++);
      |            ^~~~~~
file.c: In function 'FCEU_fgetc':
file.c:543:1: warning: control reaches end of non-void function [-Wreturn-type]
  543 | }
      | ^
make[1]: *** [Makefile:1352: file.o] Error 1
make[1]: Leaving directory '/fceu/fceu/src'
make: *** [Makefile:360: all-recursive] Error 1
nattthebear commented 7 months ago

This repo hasn't been updated in 16 years. If you want to compile it, you're going to have to figure it out yourself.