Mail Archives: djgpp/2002/06/24/10:46:30
Frank Krauss <fmfkrauss AT mindspring DOT com> wrote:
> During the assembly of the program "popmenu.c", which is part of libcurses.a,
> I got the following error messages:
> src/popmenu.c: In function `scrollmenul':
> src/popmenu.c:49: `va_start' used in function with fixed args
> src/popmenu.c: In function `popmenul':
> src/popmenu.c:63: `va_start' used in function with fixed args
it's not specific to ncurses. va_start tells the compiler how to deal
with a variable argument list, e.g., if your function were declared
int foo(char *a, ...);
> Would someone be able to tell me what I should do in order to take care of
> this problem?
> Thanking everyone in advance for any assistance you can give me in this matter.
> Yours truly,
> Frank Krauss
>
--
Thomas E. Dickey <dickey AT radix DOT net> <dickey AT herndon4 DOT his DOT com>
http://dickey.his.com
ftp://dickey.his.com
- Raw text -