Created
November 19, 2013 08:01
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> clang -c gistfile1.c | |
gistfile1.c:26:22: warning: duplicate 'const' declaration specifier | |
[-Wduplicate-decl-specifier] | |
static const int const oparray[]= | |
^ | |
gistfile1.c:176:17: warning: format specifies type 'int *' but the argument has | |
type 'inst *' (aka 'unsigned long long *') [-Wformat] | |
READ_AND_SET_IMMV(1); | |
^~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:166:33: note: expanded from macro 'READ_AND_SET_IMMV' | |
scanf("%d", &arg##_ARG_NUM##_i); \ | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:178:17: warning: format specifies type 'char *' but the argument has | |
type 'char (*)[32]' [-Wformat] | |
READ_AND_SET_R_OR_IMMV(1); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:144:33: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
scanf("%s", &arg##_ARG_NUM##_s); \ | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:178:17: warning: format specifies type 'int *' but the argument has | |
type 'inst *' (aka 'unsigned long long *') [-Wformat] | |
READ_AND_SET_R_OR_IMMV(1); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:147:61: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
sscanf(&arg##_ARG_NUM##_s[2], "%d", &arg##_ARG_N... | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:178:17: warning: format specifies type 'int *' but the argument has | |
type 'inst *' (aka 'unsigned long long *') [-Wformat] | |
READ_AND_SET_R_OR_IMMV(1); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:152:61: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
sscanf(&arg##_ARG_NUM##_s[0], "%d", &arg##_ARG_N... | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:179:17: warning: format specifies type 'char *' but the argument has | |
type 'char (*)[32]' [-Wformat] | |
READ_AND_SET_R_OR_IMMV(2); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:144:33: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
scanf("%s", &arg##_ARG_NUM##_s); \ | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:179:17: warning: format specifies type 'int *' but the argument has | |
type 'inst *' (aka 'unsigned long long *') [-Wformat] | |
READ_AND_SET_R_OR_IMMV(2); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:147:61: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
sscanf(&arg##_ARG_NUM##_s[2], "%d", &arg##_ARG_N... | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:179:17: warning: format specifies type 'int *' but the argument has | |
type 'inst *' (aka 'unsigned long long *') [-Wformat] | |
READ_AND_SET_R_OR_IMMV(2); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:152:61: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
sscanf(&arg##_ARG_NUM##_s[0], "%d", &arg##_ARG_N... | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:180:17: warning: format specifies type 'int *' but the argument has | |
type 'inst *' (aka 'unsigned long long *') [-Wformat] | |
READ_AND_SET_IMMV(3); | |
^~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:166:33: note: expanded from macro 'READ_AND_SET_IMMV' | |
scanf("%d", &arg##_ARG_NUM##_i); \ | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:182:17: warning: format specifies type 'char *' but the argument has | |
type 'char (*)[32]' [-Wformat] | |
READ_AND_SET_R(1); | |
^~~~~~~~~~~~~~~~~~ | |
gistfile1.c:159:33: note: expanded from macro 'READ_AND_SET_R' | |
scanf("%s", &arg##_ARG_NUM##_s); \ | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:182:17: warning: format specifies type 'int *' but the argument has | |
type 'inst *' (aka 'unsigned long long *') [-Wformat] | |
READ_AND_SET_R(1); | |
^~~~~~~~~~~~~~~~~~ | |
gistfile1.c:160:57: note: expanded from macro 'READ_AND_SET_R' | |
sscanf(&arg##_ARG_NUM##_s[2], "%d", &arg##_ARG_NUM##_i); \ | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:183:17: warning: format specifies type 'char *' but the argument has | |
type 'char (*)[32]' [-Wformat] | |
READ_AND_SET_R_OR_IMMV(2); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:144:33: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
scanf("%s", &arg##_ARG_NUM##_s); \ | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:183:17: warning: format specifies type 'int *' but the argument has | |
type 'inst *' (aka 'unsigned long long *') [-Wformat] | |
READ_AND_SET_R_OR_IMMV(2); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:147:61: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
sscanf(&arg##_ARG_NUM##_s[2], "%d", &arg##_ARG_N... | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:183:17: warning: format specifies type 'int *' but the argument has | |
type 'inst *' (aka 'unsigned long long *') [-Wformat] | |
READ_AND_SET_R_OR_IMMV(2); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:152:61: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
sscanf(&arg##_ARG_NUM##_s[0], "%d", &arg##_ARG_N... | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:185:17: warning: format specifies type 'char *' but the argument has | |
type 'char (*)[32]' [-Wformat] | |
READ_AND_SET_R_OR_IMMV(1); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:144:33: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
scanf("%s", &arg##_ARG_NUM##_s); \ | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:185:17: warning: format specifies type 'int *' but the argument has | |
type 'inst *' (aka 'unsigned long long *') [-Wformat] | |
READ_AND_SET_R_OR_IMMV(1); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:147:61: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
sscanf(&arg##_ARG_NUM##_s[2], "%d", &arg##_ARG_N... | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:185:17: warning: format specifies type 'int *' but the argument has | |
type 'inst *' (aka 'unsigned long long *') [-Wformat] | |
READ_AND_SET_R_OR_IMMV(1); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:152:61: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
sscanf(&arg##_ARG_NUM##_s[0], "%d", &arg##_ARG_N... | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:186:17: warning: format specifies type 'char *' but the argument has | |
type 'char (*)[32]' [-Wformat] | |
READ_AND_SET_R_OR_IMMV(2); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:144:33: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
scanf("%s", &arg##_ARG_NUM##_s); \ | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:186:17: warning: format specifies type 'int *' but the argument has | |
type 'inst *' (aka 'unsigned long long *') [-Wformat] | |
READ_AND_SET_R_OR_IMMV(2); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:147:61: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
sscanf(&arg##_ARG_NUM##_s[2], "%d", &arg##_ARG_N... | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:186:17: warning: format specifies type 'int *' but the argument has | |
type 'inst *' (aka 'unsigned long long *') [-Wformat] | |
READ_AND_SET_R_OR_IMMV(2); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:152:61: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
sscanf(&arg##_ARG_NUM##_s[0], "%d", &arg##_ARG_N... | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:187:17: warning: format specifies type 'char *' but the argument has | |
type 'char (*)[32]' [-Wformat] | |
READ_AND_SET_R(3); | |
^~~~~~~~~~~~~~~~~~ | |
gistfile1.c:159:33: note: expanded from macro 'READ_AND_SET_R' | |
scanf("%s", &arg##_ARG_NUM##_s); \ | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:187:17: warning: format specifies type 'int *' but the argument has | |
type 'inst *' (aka 'unsigned long long *') [-Wformat] | |
READ_AND_SET_R(3); | |
^~~~~~~~~~~~~~~~~~ | |
gistfile1.c:160:57: note: expanded from macro 'READ_AND_SET_R' | |
sscanf(&arg##_ARG_NUM##_s[2], "%d", &arg##_ARG_NUM##_i); \ | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:189:17: warning: format specifies type 'char *' but the argument has | |
type 'char (*)[32]' [-Wformat] | |
READ_AND_SET_R_OR_IMMV(1); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:144:33: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
scanf("%s", &arg##_ARG_NUM##_s); \ | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:189:17: warning: format specifies type 'int *' but the argument has | |
type 'inst *' (aka 'unsigned long long *') [-Wformat] | |
READ_AND_SET_R_OR_IMMV(1); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:147:61: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
sscanf(&arg##_ARG_NUM##_s[2], "%d", &arg##_ARG_N... | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:189:17: warning: format specifies type 'int *' but the argument has | |
type 'inst *' (aka 'unsigned long long *') [-Wformat] | |
READ_AND_SET_R_OR_IMMV(1); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:152:61: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
sscanf(&arg##_ARG_NUM##_s[0], "%d", &arg##_ARG_N... | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:190:17: warning: format specifies type 'char *' but the argument has | |
type 'char (*)[32]' [-Wformat] | |
READ_AND_SET_R_OR_IMMV(2); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:144:33: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
scanf("%s", &arg##_ARG_NUM##_s); \ | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:190:17: warning: format specifies type 'int *' but the argument has | |
type 'inst *' (aka 'unsigned long long *') [-Wformat] | |
READ_AND_SET_R_OR_IMMV(2); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:147:61: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
sscanf(&arg##_ARG_NUM##_s[2], "%d", &arg##_ARG_N... | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:190:17: warning: format specifies type 'int *' but the argument has | |
type 'inst *' (aka 'unsigned long long *') [-Wformat] | |
READ_AND_SET_R_OR_IMMV(2); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:152:61: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
sscanf(&arg##_ARG_NUM##_s[0], "%d", &arg##_ARG_N... | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:191:17: warning: format specifies type 'char *' but the argument has | |
type 'char (*)[32]' [-Wformat] | |
READ_AND_SET_R(3); | |
^~~~~~~~~~~~~~~~~~ | |
gistfile1.c:159:33: note: expanded from macro 'READ_AND_SET_R' | |
scanf("%s", &arg##_ARG_NUM##_s); \ | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:191:17: warning: format specifies type 'int *' but the argument has | |
type 'inst *' (aka 'unsigned long long *') [-Wformat] | |
READ_AND_SET_R(3); | |
^~~~~~~~~~~~~~~~~~ | |
gistfile1.c:160:57: note: expanded from macro 'READ_AND_SET_R' | |
sscanf(&arg##_ARG_NUM##_s[2], "%d", &arg##_ARG_NUM##_i); \ | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:193:17: warning: format specifies type 'char *' but the argument has | |
type 'char (*)[32]' [-Wformat] | |
READ_AND_SET_R_OR_IMMV(1); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:144:33: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
scanf("%s", &arg##_ARG_NUM##_s); \ | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:193:17: warning: format specifies type 'int *' but the argument has | |
type 'inst *' (aka 'unsigned long long *') [-Wformat] | |
READ_AND_SET_R_OR_IMMV(1); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:147:61: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
sscanf(&arg##_ARG_NUM##_s[2], "%d", &arg##_ARG_N... | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
gistfile1.c:193:17: warning: format specifies type 'int *' but the argument has | |
type 'inst *' (aka 'unsigned long long *') [-Wformat] | |
READ_AND_SET_R_OR_IMMV(1); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
gistfile1.c:152:61: note: expanded from macro 'READ_AND_SET_R_OR_IMMV' | |
sscanf(&arg##_ARG_NUM##_s[0], "%d", &arg##_ARG_N... | |
~~ ^ | |
gistfile1.c:100:17: note: expanded from macro 'OP_SWITCH' | |
_CODE \ | |
^ | |
33 warnings generated. |
Author
berkus
commented
Nov 19, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment