Skip to content

Instantly share code, notes, and snippets.

@keithah
Created September 16, 2015 20:28
Show Gist options
  • Save keithah/a69f8bbd32d813ca9551 to your computer and use it in GitHub Desktop.
Save keithah/a69f8bbd32d813ca9551 to your computer and use it in GitHub Desktop.
cc -c -g -pipe -Wall -W -Wno-unused-parameter -Wno-unused-label -O2 -DDONATOR -DPROCESS_CC -I. -I/opt/ffmpeg/include -o ccextratorwin/general_loop.o ccextratorwin/general_loop.c
In file included from ccextratorwin/general_loop.c:2:0:
ccextratorwin/general_loop.c: In function ‘ts_getmoredata’:
ccextratorwin/general_loop.c:295:21: warning: the address of ‘tsheader’ will always evaluate as ‘true’ [-Waddress]
buffered_read_4(tsheader);
^
ccextratorwin/ccextractor.h:149:9: note: in definition of macro ‘buffered_read_4’
if (buffer) { buffer[0]=filebuffer[filebuffer_pos]; \
^
ccextratorwin/ccextractor.h:143:15: warning: the comparison will always evaluate as ‘true’ for the address of ‘adlength’ will never be NULL [-Waddress]
if (buffer!=NULL) memcpy (buffer,filebuffer+filebuffer_pos,bytes); \
^
ccextratorwin/general_loop.c:352:7: note: in expansion of macro ‘buffered_read’
buffered_read (&adlength, 1);
^
ccextratorwin/general_loop.c: In function ‘raw_loop’:
ccextratorwin/general_loop.c:491:7: warning: variable ‘got’ set but not used [-Wunused-but-set-variable]
LONG got;
^
ccextratorwin/general_loop.c: At top level:
ccextratorwin/general_loop.c:513:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘process_block’
LONG __cdecl process_block (unsigned char *data, LONG length)
^
ccextratorwin/general_loop.c: In function ‘general_loop’:
ccextratorwin/general_loop.c:1201:3: warning: implicit declaration of function ‘process_block’ [-Wimplicit-function-declaration]
got = process_block (fbuffer, inbuf);
^
make: *** [ccextratorwin/general_loop.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment