bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: my ncurses expermient, I need help :-(


From: Thomas Dickey
Subject: Re: my ncurses expermient, I need help :-(
Date: Fri, 24 May 2002 08:13:52 -0400
User-agent: Mutt/1.2.5i

On Fri, May 24, 2002 at 01:46:14PM +0200, LuisMi wrote:
> I am starting to use ncurses and I do a little program, but it doesn't 
> want to compile. Can anyone help me?
> 
> the source code is attached, it is a simple source code.

it compiles.  perhaps you did not specify the library, e.g.,

gcc -o demo ncurses.c -lncurses

ncurses.c:6: warning: no previous prototype for `cabecera'
ncurses.c: In function `cabecera':
ncurses.c:15: warning: passing arg 2 of `mvprintw' as signed due to prototype
ncurses.c:16: warning: passing arg 2 of `mvprintw' as signed due to prototype
ncurses.c:21: warning: control reaches end of non-void function
ncurses.c: At top level:
ncurses.c:24: warning: no previous prototype for `nueva_vent'
ncurses.c:35: warning: no previous prototype for `borra_vent'
-rwx------    1 tom      users        6617 May 24 08:13 demo

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]