[Home]

Summary:ASTERISK-00796: compile * term.c make warning
Reporter:mochouinard (mochouinard)Labels:
Date Opened:2004-01-12 00:22:01.000-0600Date Closed:2011-06-07 14:10:36
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:read.c refresh.c search.c sig.c term.c tty.c fcns.c help.c > editline.c
gcc -c  -Wall -pipe -g3 -O '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. editline.c -o editline.o_a
In file included from editline.c:18:
term.c: In function `term_move_to_line':
term.c:554: warning: implicit declaration of function `tputs'
term.c:554: warning: implicit declaration of function `tgoto'
term.c: In function `term_set':
term.c:911: warning: implicit declaration of function `tgetent'
term.c:929: warning: implicit declaration of function `tgetflag'
term.c:938: warning: implicit declaration of function `tgetnum'
term.c:941: warning: implicit declaration of function `tgetstr'
term.c:941: warning: passing arg 3 of `term_alloc' makes pointer from integer without a cast
In file included from editline.c:18:
term.c: In function `term_echotc':
term.c:1439: warning: assignment makes pointer from integer without a cast
Comments:By: mochouinard (mochouinard) 2004-01-12 00:25:20.000-0600

Running Redhat 9

By: jrollyson (jrollyson) 2004-01-14 01:20:34.000-0600

What version of gcc?

By: mochouinard (mochouinard) 2004-01-19 08:31:05.000-0600

gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

By: Brian West (bkw918) 2004-01-21 01:17:17.000-0600

Compiler issues.  I don't see this on my gentoo box, redhat or slackware boxes.