prog.c: In function ‘set_sp_’:
prog.c:16:15: error: ISO C forbids zero-size array ‘s’ [-Werror=pedantic]
void *s[0];
^
prog.c:16:15: error: variable ‘s’ set but not used [-Werror=unused-but-set-variable]
prog.c: In function ‘main’:
prog.c:29:26: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic]
[1020] = (void*)&hello,
^
prog.c:30:26: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic]
[1021] = (void*)&goodbye,
^
prog.c:31:26: error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic]
[1022] = (void*)&exit
^
cc1: all warnings being treated as errors