Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!purdue!decwrl!labrea!rutgers!cmcl2!phri!marob!daveh From: daveh@marob.MASA.COM (Dave Hammond) Newsgroups: comp.unix.xenix Subject: Re: Xenix 2.3 development upgrade problem (linking problem) Keywords: pascal c link Message-ID: <631@marob.MASA.COM> Date: 1 May 89 18:46:21 GMT References: <599@ispi.UUCP> Reply-To: daveh@marob.masa.com (Dave Hammond) Organization: ESCC New York City Lines: 24 In article <599@ispi.UUCP> jbayer@ispi.UUCP (Jonathan Bayer) writes: > I recently upgraded my SCO Xenix development system from the 2.2 to >the 2.3 system. Now a program that used to link with no problems now >has unresolved external references. The references to wstandend() and >wstandout() are due to a redefinition of those functions in the >libraries. [...] Results of `cd /usr/include; grep wstand *.h': tcap.h:# define wstandout(win) CURVOID(wattron(win,A_STANDOUT)) tcap.h:# define wstandend(win) CURVOID(wattroff(win,A_STANDOUT)) tinfo.h: scrollok(), wstandend(), wstandout(); tinfo.h:#define standend() wstandend(stdscr) tinfo.h:#define standout() wstandout(stdscr) tinfo.h:#define wstandend(win) wattrset((win),A_NORMAL) tinfo.h:#define wstandout(win) wattron((win),A_STANDOUT) The new curses simply defines wstand* as wattron/wattroff macros. [ Jonathan, I expected less obvious problems from _you_ :-) :-) ] -- Dave Hammond daveh@marob.masa.com