Eric Gallager egall at gwmail.gwu.edu
Mon Dec 30 05:46:51 PST 2013


What's the context here? Was the tcl script a specific portfile whose port
you were trying to install with MacPorts?



On Mon, Dec 30, 2013 at 3:49 AM, Rinku Thakare <manjusha029 at gmail.com>wrote:

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


More information about the macports-users mailing list