Thread View: news.software.nn
2 messages
2 total messages
Started by Hans-Christoph Wirth
Wed, 06 Nov 1996 00:00
nn-6.5.1 compile problem: varargs in term.c
Author: Hans-Christoph Wirth
Date: Wed, 06 Nov 1996 00:00
Date: Wed, 06 Nov 1996 00:00
39 lines
1885 bytes
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,
Re: nn-6.5.1 compile problem: varargs in term.c
Author: Toivo Pedaste
Date: Thu, 07 Nov 1996 00:00
Date: Thu, 07 Nov 1996 00:00
42 lines
1958 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads