No subject

Rinku Thakare manjusha029 at gmail.com
Mon Dec 30 00:49:17 PST 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20131230/0dc18e3e/attachment.html>


More information about the macports-users mailing list