i got the error while running tcl script
gcc -DHAVE_CONFIG_H -I, -I ,-I. -g -c dialog.c
dialog.c:In function 'make_msg_box':
dialog.c:780:5:warning:passing argument 2 of 'getline' from incompatible
pointer type [enabled by default]
In file included from xgraph.h:18:0,
from dialog.c:11:
/usr/include/stdio.h:677:20: note: expected ‘size_t * __restrict__’ but
argument is of type ‘char *’
dialog.c:780:5: error: too few arguments to function ‘getline’
In file included from xgraph.h:18:0,
from dialog.c:11:
/usr/include/stdio.h:677:20: note: declared here
dialog.c: At top level:
dialog.c:891:1: error: conflicting types for ‘getline’
In file included from xgraph.h:18:0,
from dialog.c:11:
/usr/include/stdio.h:677:20: note: previous declaration of ‘getline’
was here
make: *** [dialog.o] Error 1
_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users