On Wednesday 19 November 2014 22:51:10 Gisle Vanem wrote: > Tim Rühsen wrote: > > This patch fixes most C89 warnings for me (-std=c89 -pedantic) since these > > may prevent from compiling with MSVC. > > That's really good news to me. But there are still lots > more C99 "errors". Espesially in main.c.
I just know of
main.c:226:33: warning: ISO C forbids conversion of function pointer to object
pointer type [-Wpedantic]
{ "help", 'h', OPT_FUNCALL, (void *)print_help, no_argument },
^
main.c:312:36: warning: ISO C forbids conversion of function pointer to object
pointer type [-Wpedantic]
{ "version", 'V', OPT_FUNCALL, (void *) print_version, no_argument },
^
main.c: In function 'main':
main.c:1163:35: warning: ISO C forbids conversion of object pointer to
function pointer type [-Wpedantic]
void (*func) (void) = (void (*) (void)) cmdopt->data;
And either I or Darshit care about it.
Please 'git pull' and send the (error/warning) output of MSVC compilation. I
would like to know exactly what it complains about.
Tim
signature.asc
Description: This is a digitally signed message part.
