🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #8146

Re: nn-6.5.1 compile problem: varargs in term.c

#8146
From: Toivo Pedaste
Date: Thu, 07 Nov 1996 00:00
42 lines
1958 bytes
Hans-Christoph Wirth <hansi@dianoia.mayn.de> writes:

>[ 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?

Try deleting the 
	#include <curses.h>
from term.c

curses.h includes the news variable args macros with nn
uses the old ones and they are incompatable.


--
------------------------------------------------------------------
 Toivo Pedaste                        Email:  toivo@ucs.uwa.edu.au
 University Computing Services,       Phone:  +61 9 380 2605
 University of Western Australia      Fax:    +61 9 380 1380

Technical Details
Message-ID: <55rhgm$7gn@enyo.uwa.edu.au>
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
References: <e0gy7u.an5@dianoia.mayn.de>

Show Full Headers
Complete Article Headers
Message-ID: <55rhgm$7gn@enyo.uwa.edu.au>
Subject: Re: nn-6.5.1 compile problem: varargs in term.c
Date: Thu, 07 Nov 1996 00:00:00 +0000
From: toivo@uwa.edu.au (Toivo Pedaste)
References: <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
X-Deja-AN: 195000877
Content-type: text/plain
Organization: The University of Western Australia
Mime-version: 1.0
Newsgroups: news.software.nn
X-mailer: exmh nn-tk.9