Open ghost opened 7 years ago
after adding asmotor.h:
guest@macbookair:/mnt/sda3/trabalhos/programacao/8bit_8080/gameboy/tools/rgbfix$ gcc -c rgbfix.c -o rgbfix rgbfix.c:14:21: fatal error: asmotor.h: No such file or directory
^
compilation terminated. guest@macbookair:/mnt/sda3/trabalhos/programacao/8bit_8080/gameboy/tools/rgbfix$ gcc -c rgbfix.c -o rgbfix In file included from rgbfix.c:14:0: rgbfix.c: In function ‘PrintUsage’: asmotor.h:14:38: error: expected ‘)’ before ‘LOCALVERSION’
^
rgbfix.c:73:56: note: in expansion of macro ‘ASMOTOR_VERSION’
printf("RGBFix v" RGBFIX_VERSION " (part of ASMotor " ASMOTOR_VERSION ")\n") ;
^~~~~~~
rgbfix.c: In function ‘Hex8BitOptionParam’:
rgbfix.c:234:38: warning: format ‘%lx’ expects argument of type ‘long unsigned int ’, but argument 3 has type ‘unsigned char ’ [-Wformat=]
scanResult = sscanf(paramString, "%lx", ¶mValue) ;
^
rgbfix.c: In function ‘main’:
rgbfix.c:434:19: warning: implicit declaration of function ‘min’ [-Wimplicit-function-declaration]
bytesToAdd = min(padSize, k_ROM_BANK_SIZE) ;
^~~
guest@macbookair:/mnt/sda3/trabalhos/programacao/8bit_8080/gameboy/tools/rgbfix$
guest@macbookair:/mnt/sda3/trabalhos/programacao/8bit_8080/gameboy/tools/rgbfix$ gcc -c rgbfix.c -o rgbfix rgbfix.c:14:21: fatal error: asmotor.h: No such file or directory
include "asmotor.h"
compilation terminated. guest@macbookair:/mnt/sda3/trabalhos/programacao/8bit_8080/gameboy/tools/rgbfix$