Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- guest@macbook:/mnt/sda4/trabalhos/musica/recolha/vgm/tools/vgmtools_compilar/VGMTools_src_2015-07-25$ make
- mkdir obj
- gcc -c dro2vgm.c -o obj/dro2vgm.o
- dro2vgm.c: In function ‘main’:
- dro2vgm.c:77:3: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
- gets(FileName);
- ^
- dro2vgm.c: In function ‘ConvertDRO2VGM’:
- dro2vgm.c:441:10: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- printf("DRO ms Header: %lu, counted: %lu\n", DROInf.iLengthMS, CurMS);
- ^
- dro2vgm.c:441:10: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- gcc obj/dro2vgm.o -o dro2vgm -lm -lz
- obj/dro2vgm.o: In function `main':
- dro2vgm.c:(.text+0x5c): warning: the `gets' function is dangerous and should not be used.
- gcc -c optdac.c -o obj/optdac.o
- optdac.c: In function ‘main’:
- optdac.c:62:3: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
- gets(FileName);
- ^
- gcc obj/optdac.o -o optdac -lm -lz
- obj/optdac.o: In function `main':
- optdac.c:(.text+0x7c): warning: the `gets' function is dangerous and should not be used.
- gcc -c optvgm32.c -o obj/optvgm32.o
- optvgm32.c: In function ‘main’:
- optvgm32.c:110:3: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
- gets(FileName);
- ^
- optvgm32.c: In function ‘EnumeratePWMWrite’:
- optvgm32.c:446:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- printf("%lu PWM writes found.\n", WriteCount);
- ^
- optvgm32.c: In function ‘DataReducer’:
- optvgm32.c:539:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- printf("Data Reduction x%lu ...", SmplGCD);
- ^
- optvgm32.c: In function ‘MakeDataStream’:
- optvgm32.c:662:10: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- printf("PWM Frequency %s Chn: %lu\n", CHN_STR[TempChn->Command], TempChn->Fre
- ^
- gcc obj/optvgm32.o -o optvgm32 -lm -lz
- obj/optvgm32.o: In function `main':
- optvgm32.c:(.text+0x7c): warning: the `gets' function is dangerous and should not be used.
- gcc -c optvgmrf.c -o obj/optvgmrf.o
- optvgmrf.c: In function ‘main’:
- optvgmrf.c:112:3: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
- gets(FileName);
- ^
- optvgmrf.c:133:10: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- printf("VGM Version %lX.%02hX!? Are kidding me??\n",
- ^
- optvgmrf.c:173:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- printf("Data Compression: %lu -> %lu (%.1f %%)\n",
- ^
- optvgmrf.c:173:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- optvgmrf.c: In function ‘EnumeratePCMData’:
- optvgmrf.c:1243:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- printf("%lu Blocks created (%.2f MB, %lux used, %lux single use).\n",
- ^
- optvgmrf.c:1243:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- optvgmrf.c:1243:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- gcc obj/optvgmrf.o -o optvgmrf -lm -lz
- obj/optvgmrf.o: In function `main':
- optvgmrf.c:(.text+0x66): warning: the `gets' function is dangerous and should not be used.
- gcc -c vgm2txt.c -o obj/vgm2txt.o
- vgm2txt.c: In function ‘main’:
- vgm2txt.c:94:3: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
- gets(FileName);
- ^
- vgm2txt.c:118:19: warning: format ‘%lu’ expects argument of type ‘long unsigned int *’, but argument 3 has type ‘UINT32 * {aka unsigned int *}’ [-Wformat=]
- sscanf(FileName, "%02lu:%02lu.%02lu", &TimeMin, &TimeSec, &TimeMS);
- ^
- vgm2txt.c:118:19: warning: format ‘%lu’ expects argument of type ‘long unsigned int *’, but argument 4 has type ‘UINT32 * {aka unsigned int *}’ [-Wformat=]
- vgm2txt.c:118:19: warning: format ‘%lu’ expects argument of type ‘long unsigned int *’, but argument 5 has type ‘UINT32 * {aka unsigned int *}’ [-Wformat=]
- vgm2txt.c:127:19: warning: format ‘%lu’ expects argument of type ‘long unsigned int *’, but argument 3 has type ‘UINT32 * {aka unsigned int *}’ [-Wformat=]
- sscanf(FileName, "%02lu:%02lu.%02lu", &TimeMin, &TimeSec, &TimeMS);
- ^
- vgm2txt.c:127:19: warning: format ‘%lu’ expects argument of type ‘long unsigned int *’, but argument 4 has type ‘UINT32 * {aka unsigned int *}’ [-Wformat=]
- vgm2txt.c:127:19: warning: format ‘%lu’ expects argument of type ‘long unsigned int *’, but argument 5 has type ‘UINT32 * {aka unsigned int *}’ [-Wformat=]
- vgm2txt.c: In function ‘WriteVGM2Txt’:
- vgm2txt.c:258:17: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- fprintf(hFile, "File Version:\t\t0x%08lX (%lu.%02lX)\n", VGMHead.lngVersion,
- ^
- vgm2txt.c:258:17: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- vgm2txt.c:258:17: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- vgm2txt.c:260:17: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- fprintf(hFile, "EOF Offset:\t\t0x%08lX (absolute)\n", VGMHead.lngEOFOffset);
- ^
- vgm2txt.c:261:17: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- fprintf(hFile, "GD3 Tag Offset:\t\t0x%08lX (absolute)\n", VGMHead.lngGD3Offset
- ^
- vgm2txt.c:262:17: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- fprintf(hFile, "Data Offset:\t\t0x%08lX (absolute)\n", VGMHead.lngDataOffset);
- ^
- vgm2txt.c:265:17: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- fprintf(hFile, "Total Length:\t\t%lu samples (%s s)\n", VGMHead.lngTotalSample
- ^
- vgm2txt.c:266:17: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- fprintf(hFile, "Loop Point Offset:\t0x%08lX (absolute)\n", VGMHead.lngLoopOffs
- ^
- vgm2txt.c:272:17: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- fprintf(hFile, "Loop Start:\t\t%lu samples (%s s)\n", TempLng, TempStr);
- ^
- vgm2txt.c:274:17: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- fprintf(hFile, "Loop Length:\t\t%lu samples (%s s)\n", VGMHead.lngLoopSamples,
- ^
- vgm2txt.c:275:17: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- fprintf(hFile, "Recording Rate:\t\t%lu Hz\n", VGMHead.lngRate);
- ^
- vgm2txt.c:277:19: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- sprintf(TempStr, "%lu Hz", VGMHead.lngHzPSG & 0x3FFFFFF);
- ^
- vgm2txt.c:305:17: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- fprintf(hFile, "SegaPCM Interface:\t0x%08lX\n", VGMHead.lngSPCMIntf);
- ^
- vgm2txt.c:318:19: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- sprintf(TempStr, "%lu Hz", VGMHead.lngHzYM2610 & 0x3FFFFFF);
- ^
- vgm2txt.c: In function ‘WriteClockText’:
- vgm2txt.c:486:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- sprintf(Buffer, "%lu Hz", Clock & 0x3FFFFFF);
- ^
- vgm2txt.c: In function ‘WriteVGMData2Txt’:
- vgm2txt.c:649:23: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘INT32 {aka int}’ [-Wformat=]
- sprintf(TempStr, "Wait:\t%2hu sample(s) ( %03.2f ms)\t(total\t%lu (%s))"
- ^
- vgm2txt.c:660:23: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘INT32 {aka int}’ [-Wformat=]
- sprintf(TempStr, "Wait:\t%2hu sample(s) ( %03.2f ms)\t(total\t%lu (%s))"
- ^
- vgm2txt.c:788:23: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘INT32 {aka int}’ [-Wformat=]
- sprintf(TempStr, "Wait:\t%hu samples (1/60 s)\t(total\t%lu (%s))",
- ^
- vgm2txt.c:800:23: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘INT32 {aka int}’ [-Wformat=]
- sprintf(TempStr, "Wait:\t%hu samples (1/50 s)\t(total\t%lu (%s))",
- ^
- vgm2txt.c:812:23: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘INT32 {aka int}’ [-Wformat=]
- sprintf(TempStr, "Wait:\t%hu samples ( %03.2f ms)\t(total\t%lu (%s))",
- ^
- vgm2txt.c:969:23: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- sprintf(TempStr, "%s\t\t\tData Length: 0x%08lX", TempStr, DataLen);
- ^
- vgm2txt.c:978:24: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- sprintf(TempStr, "%s\n\t\t\tROM Size: 0x%08lX\tData Start: 0x%08lX",
- ^
- vgm2txt.c:978:24: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- vgm2txt.c:993:23: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- sprintf(TempStr, "Seek to PCM Data Bank Pos: %08lX", TempLng);
- ^
- vgm2txt.c:1144:23: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- sprintf(TempStr, "PCM RAM write:\t%s\n"
- ^
- vgm2txt.c:1144:23: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- vgm2txt.c:1144:23: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- vgm2txt.c:1449:19: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- fprintf(hFile, "0x%08lX: %s %s\n", VGMPos, MinSecStr, TempStr);
- ^
- gcc -c chiptext.c -o obj/chiptext.o
- chiptext.c: In function ‘sn76496_write’:
- chiptext.c:623:21: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat=]
- sprintf(TempStr, "%sLatch/Data: Tone Ch %hu -> 0x%03lX", ChipStr, CurChn, Cu
- ^
- chiptext.c: In function ‘ym2151_write’:
- chiptext.c:1049:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘int’ [-Wformat=]
- sprintf(WriteStr, "Key Code: 0x%02X = %s%ld", Data,
- ^
- chiptext.c:1183:22: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka const unsigned int}’ [-Wformat=]
- sprintf(WriteStr, "Detune 2: %lu, Decay Rate 2: 0x%02X",
- ^
- chiptext.c: In function ‘ymz280b_write’:
- chiptext.c:1671:22: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int’ [-Wformat=]
- sprintf(WriteStr, "Pan 0x%02X = %ld%%", Data, 200 * (Data - 0x08) / 0x0F);
- ^
- gcc obj/vgm2txt.o obj/chiptext.o -o vgm2txt -lm -lz
- obj/vgm2txt.o: In function `main':
- vgm2txt.c:(.text+0x66): warning: the `gets' function is dangerous and should not be used.
- gcc -c vgm_cmp.c -o obj/vgm_cmp.o
- vgm_cmp.c: In function ‘main’:
- vgm_cmp.c:126:3: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
- gets(FileName);
- ^
- vgm_cmp.c:151:10: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- printf(" Data Compression: %lu -> %lu (%.1f %%)\n",
- ^
- vgm_cmp.c:151:10: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- vgm_cmp.c:163:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- printf("Data Compression Total: %lu -> %lu (%.1f %%)\n",
- ^
- vgm_cmp.c:163:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
- gcc -c chip_cmp.c -o obj/chip_cmp.o
- chip_cmp.c: In function ‘okim6258_write’:
- chip_cmp.c:2575:3: warning: implicit declaration of function ‘_getch’ [-Wimplicit-function-declaration]
- _getch();
- ^
- gcc obj/vgm_cmp.o obj/chip_cmp.o -o vgm_cmp -lm -lz
- obj/vgm_cmp.o: In function `main':
- vgm_cmp.c:(.text+0x3b3): warning: the `gets' function is dangerous and should not be used.
- obj/chip_cmp.o: In function `okim6258_write':
- chip_cmp.c:(.text+0x3c94): undefined reference to `_getch'
- collect2: error: ld returned 1 exit status
- Makefile:71: recipe for target 'vgm_cmp' failed
- make: *** [vgm_cmp] Error 1
- guest@macbook:/mnt/sda4/trabalhos/musica/recolha/vgm/tools/vgmtools_compilar/VGMTools_src_2015-07-25$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement