From: Thomas Dickey Newsgroups: comp.os.msdos.djgpp Subject: Re: Creation of Curses Library using the DOS Cross-Compiler (DOS-GCC) Date: 24 Jun 2002 13:53:29 GMT Organization: RadixNet Internet Services Lines: 29 Message-ID: References: <1024881058 DOT 2010180066 AT news DOT mindspring DOT com> NNTP-Posting-Host: saltmine.radix.net User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (SunOS/5.8 (sun4u)) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Frank Krauss 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 http://dickey.his.com ftp://dickey.his.com