🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #8144

nn-6.5.1 compile problem: varargs in term.c

#8144
From: Hans-Christoph Wirth
Date: Wed, 06 Nov 1996 00:00
39 lines
1885 bytes
[ Article reposted from de.comp.os.linux.misc ]
[ Author was Hans-Christoph Wirth ]
[ Posted on 06 Nov 1996 16:39:01 GMT ]

Hi,

I've just installed a new linux-distribution (debian) on my machine,
and now there is a problem when compiling nn version 6.5.1.

The problem is in file conf/s-linux.h with the 2 #define's 
HAVE_VARAGS and NO_VARARGS.

If I #define NO_VARARGS, I get three parse errors in global.h, since
the name "va_list" is not known to the compiler.

If I #define HAVE_VARARGS, I get errors in term.c: the macro
start_varargs is called with one parameter but needs two.

A second problem is with function standout(), which is already defined
in /usr/include/curses.h. This leads to a naming conflict (I assume
this can be solved by just choosing a different name in term.h.)

What can I do?

Hansi

-- 
|-|_   _|-|   Hans-Christoph Wirth        wirth@informatik.uni-wuerzburg.de
| | |_| | |   Veitshoechheim              hansi@dianoia.mayn.de
| | | | | |   Die Oper ist ebensowenig die groesste aller Kuenste, 
|O|O|O|O|O|   wie die beste Suppe jene waere, 
-- 
|-|_   _|-|   Hans-Christoph Wirth        wirth@informatik.uni-wuerzburg.de
| | |_| | |   Veitshoechheim              hansi@dianoia.mayn.de
| | | | | |   Die Oper ist ebensowenig die groesste aller Kuenste, 
|O|O|O|O|O|   wie die beste Suppe jene waere, 

Technical Details
Message-ID: <e0gy7u.an5@dianoia.mayn.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <e0gy7u.an5@dianoia.mayn.de>
Subject: nn-6.5.1 compile problem: varargs in term.c
Date: Wed, 06 Nov 1996 00:00:00 +0000
From: Hans-Christoph Wirth <hansi@dianoia.mayn.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
X-Deja-AN: 194964535
Organization: private Linux Site, D-97209
Newsgroups: news.software.nn