Re: qconfirm-0.14.3 compile error

"Andy Bradford" <[email protected]> 5 Nov 2016 23:47:29 -0600
Newsgroups gmane.comp.misc.pape.general
Message-ID <[email protected]>
Thus said David Overman on Sun, 06 Nov 2016 02:57:36 -0000:

> following instructions at webpage, installing via debian 8 results in:
> + cd compile
> + exec make
> ./compile qconfirm-notice.c
> In file included from qconfirm-notice.c:20:0:
> getline.h:1:12: error: conflicting types for =60getline'
> extern int getline();
> =5E

That's strange...  That's not what my getline.h has:

=24 pwd
/package/mail/qconfirm-0.14.3/src
=24 cat getline.h=20
extern int get_line();

I wonder where I got that from...

My getline.c also appears to be different:'

=24 diff -u /tmp/getline.c getline.c              =20
--- /tmp/getline.c      Sat Nov  5 23:45:17 2016
+++ getline.c   Sun Dec 12 09:57:17 2004
=40=40 -2,7 +2,7 =40=40
 =23include =22stralloc.h=22
 =23include =22byte.h=22
=20
-int get_line(buffer *b, stralloc *line) =7B
+int getline(buffer *b, stralloc *line) =7B
   int r, i;
   char *x;

So  it would  appear  that I  also  ran into  this  problem before  and=20
corrected it by avoiding the name conflict.                            =20

Andy
--=20
TAI64 timestamp: 40000000581ec415