delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/06/24/10:46:30

From: Thomas Dickey <dickey AT saltmine DOT radix DOT net>
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: <af788p$q9r$1@news1.Radix.Net>
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 <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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019